-
Notifications
You must be signed in to change notification settings - Fork 138
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1771 from OceanParcels/v/ci-int-matrix
CI: Add py310 to integration test matrix
- Loading branch information
Showing
1 changed file
with
6 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|
@@ -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] | ||
|
@@ -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: | ||
|