diff --git a/.github/workflows/python-test.yml b/.github/workflows/python-test.yml index 2df3128..4bcacbb 100644 --- a/.github/workflows/python-test.yml +++ b/.github/workflows/python-test.yml @@ -15,6 +15,7 @@ on: - "**.ya?ml" # captures both .yml and .yaml - "LICENSE" - ".gitignore" + - "**.ipynb" # ignore Jupyter notebooks pull_request: branches: [main, dev] types: [opened, reopened] # excludes syncronize to avoid redundant trigger from commits on PRs @@ -24,6 +25,7 @@ on: - "**.ya?ml" - "LICENSE" - ".gitignore" + - "**.ipynb" # ignore Jupyter notebooks workflow_dispatch: # also allow manual trigger, for testing purposes jobs: @@ -33,7 +35,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest, windows-latest, macos-latest] - py-version: ["3.10"] + py-version: ["3.10", "3.11", "3.12"] steps: - uses: actions/checkout@v2 @@ -47,7 +49,7 @@ jobs: # Create the conda environment - name: Create conda environment - run: conda env create -f timex-environment.yaml + run: conda create -n timex -c conda-forge -c cmutel brightway25 bw_temporalis # Install testing dependencies from pyproject.toml - name: Install testing dependencies