Skip to content

Commit

Permalink
udpated action
Browse files Browse the repository at this point in the history
  • Loading branch information
vboussange committed Dec 6, 2024
1 parent fcd643a commit 123f6df
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 6 deletions.
15 changes: 10 additions & 5 deletions .github/workflows/run_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ jobs:
- name: Checkout code
uses: actions/checkout@v2

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}

- name: Install dependencies
run: |
Expand All @@ -33,4 +33,9 @@ jobs:
- name: Test with pytest
run: |
python -m pip install .
python -m pytest
python -m pytest
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
3 changes: 2 additions & 1 deletion tests/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@ pytest
networkx
jax
numpy
scipy
scipy
pytest-cov

0 comments on commit 123f6df

Please sign in to comment.