Skip to content

Commit

Permalink
Merge pull request #1771 from OceanParcels/v/ci-int-matrix
Browse files Browse the repository at this point in the history
CI: Add py310 to integration test matrix
  • Loading branch information
VeckoTheGecko authored Nov 25, 2024
2 parents 3c94b3e + 92f730c commit 1f4ae4e
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,9 @@ jobs:
matrix:
os: [macos, ubuntu, windows]
python-version: ["3.12"]
include:
- os: ubuntu
python-version: "3.10"
steps:
- name: Checkout
uses: actions/checkout@v4
Expand All @@ -72,7 +75,7 @@ jobs:
environment-file: environment.yml
- name: Integration test
run: |
coverage run -m pytest -v -s --nbval-lax -k "not documentation" --html="${{ matrix.os }}_integration_test_report.html" --self-contained-html docs/examples
coverage run -m pytest -v -s --nbval-lax -k "not documentation" --html="${{ matrix.os }}_${{ matrix.python-version }}_integration_test_report.html" --self-contained-html docs/examples
coverage xml
- name: Codecov
uses: codecov/[email protected]
Expand All @@ -84,8 +87,8 @@ jobs:
if: ${{ always() }} # Always run this step, even if tests fail
uses: actions/upload-artifact@v4
with:
name: Integration test report ${{ matrix.os }}
path: ${{ matrix.os }}_integration_test_report.html
name: Integration test report ${{ matrix.os }}-${{ matrix.python-version }}
path: ${{ matrix.os }}_${{ matrix.python-version }}_integration_test_report.html
merge-test-artifacts:
runs-on: ubuntu-latest
needs:
Expand Down

0 comments on commit 1f4ae4e

Please sign in to comment.