Skip to content

Commit

Permalink
ffs
Browse files Browse the repository at this point in the history
  • Loading branch information
adrn committed Aug 21, 2024
1 parent 2e1e277 commit dbcc932
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:

jobs:
tests:
name: Check Python ${{ matrix.python-version }} on ${{ matrix.os }}
name: Python ${{ matrix.python-version }} on ${{ matrix.os }} with numpy ${{ matrix.numpy-version }}, no gsl ${{ matrix.gala-nogsl }}, deps ${{ matrix.pip-test-deps }}
runs-on: ${{ matrix.os }}
if: github.event.pull_request.draft == false && !contains(github.event.pull_request.labels.*.name, 'docs only')
strategy:
Expand All @@ -20,29 +20,29 @@ jobs:
os: ["ubuntu-latest", "macos-latest"]
numpy-version: ["latest"]
gala-nogsl: ["0"]
pip-additional: [""]
pip-test-deps: ["test"]
include:

- name: Oldest numpy version supported
os: ubuntu-latest
python-version: "3.11"
numpy-version: "1.24"
gala-nogsl: "0"
pip-additional: ""
pip-test-deps: "test"

- name: Install without GSL
os: ubuntu-latest
python-version: "3.11"
numpy-version: "latest"
gala-nogsl: "1"
pip-additional: ""
pip-test-deps: "test"

- name: With optional dependencies
os: ubuntu-latest # note: galpy install failed on macos here
python-version: "3.11"
numpy-version: "latest"
gala-nogsl: "1"
pip-additional: "extra"
pip-test-deps: "test,extra"

steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -79,7 +79,7 @@ jobs:
sudo apt-get install libhdf5-serial-dev # TODO: remove when h5py has 3.11 wheels
- name: Install package and dependencies
run: python -m pip install ".[test,${{matrix.pip-additional}}]"
run: python -m pip install ".[${{ matrix.pip-test-deps }}]"
env:
GALA_NOGSL: ${{ matrix.gala-nogsl }}

Expand Down

0 comments on commit dbcc932

Please sign in to comment.