Skip to content

Commit

Permalink
Merge pull request #1073 from ocefpaf/np2
Browse files Browse the repository at this point in the history
Test against numpy 2.0
  • Loading branch information
ocefpaf authored May 22, 2024
2 parents 5a5a7fe + f1499e2 commit 70d4761
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions .github/workflows/default-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,15 @@ jobs:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
os: [windows-latest, ubuntu-latest, macos-latest]
experimental: [false]
include:
- python-version: "3.12"
os: "ubuntu-latest"
experimental: true
fail-fast: false
defaults:
run:
shell: bash -l {0}

steps:
- uses: actions/checkout@v4
Expand All @@ -27,11 +35,14 @@ jobs:
--file test_requirements.txt
--channel conda-forge
- name: Install unstable dependencies
if: matrix.experimental == true
run: |
micromamba install conda-forge/label/numpy_dev::numpy
- name: Install compliance-checker
shell: bash -l {0}
run: |
python -m pip install -e . --no-deps --force-reinstall
- name: Default Tests
shell: bash -l {0}
run: python -m pytest -s -rxs -v -k "not integration" compliance_checker

0 comments on commit 70d4761

Please sign in to comment.