Skip to content

Commit

Permalink
Testing numpy versions separately
Browse files Browse the repository at this point in the history
  • Loading branch information
wolph committed Nov 25, 2024
1 parent 4d244d6 commit c1ce8b5
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ jobs:
strategy:
matrix:
python-version: ['3.9', '3.10', '3.11', '3.12']
numpy-version: ['1', '2']

steps:
- uses: actions/checkout@v3
Expand All @@ -23,5 +24,14 @@ jobs:
run: |
python -m pip install --upgrade pip
pip install tox tox-gh-actions
- name: python version
env:
TOXENV: "py${{ matrix.python }}-numpy${{ matrix.numpy-version }}"
run: |
TOXENV=${{ env.TOXENV }}
TOXENV=${TOXENV//.} # replace all dots
echo TOXENV=${TOXENV} >> $GITHUB_ENV # update GitHub ENV vars
- name: print env
run: echo ${{ env.TOXENV }}
- name: Test with tox
run: tox

0 comments on commit c1ce8b5

Please sign in to comment.