Skip to content

Commit f6990f5

Browse files
committed
Update setup-python cache options
1 parent f72dde8 commit f6990f5

File tree

1 file changed

+6
-9
lines changed

1 file changed

+6
-9
lines changed

.github/workflows/tests.yml

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: Tests
22

3-
on:
3+
on:
44
push:
55
branches:
66
- main
@@ -16,7 +16,7 @@ on:
1616
- CMakesLists.txt
1717
schedule:
1818
- cron: 0 0 * * 0
19-
19+
2020
concurrency:
2121
group: ${{ github.workflow }}-${{ github.ref }}
2222
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
@@ -37,25 +37,22 @@ jobs:
3737
steps:
3838
- name: Checkout Source
3939
uses: actions/checkout@v4
40-
40+
4141
- name: Set up Python ${{ matrix.python-version }}
4242
uses: actions/setup-python@v5
4343
with:
4444
python-version: ${{ matrix.python-version }}
4545
cache: pip
46-
cache-dependency-path: |
47-
requirements/requirements-core.txt
48-
requirements/requirements-tests.txt
49-
46+
5047
- name: Install dependencies
5148
run: |
5249
python -m pip install --upgrade pip
5350
pip install .[tests]
54-
51+
5552
- name: Run tests
5653
run: |
5754
pytest -v --cov-report=xml --cov=s2fft --cov-config=.coveragerc
58-
55+
5956
- name: Upload coverage reports to Codecov
6057
uses: codecov/codecov-action@v3
6158
env:

0 commit comments

Comments
 (0)