Skip to content

Commit 9554a7f

Browse files
committed
Skip slow tests for pull-request triggered Actions jobs
1 parent 8d2aae8 commit 9554a7f

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/tests.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,13 @@ jobs:
5454
python -m pip install --upgrade pip
5555
pip install .[tests]
5656
57+
- name: Run tests (skipping slow)
58+
if: github.event_name == 'pull_request'
59+
run: |
60+
pytest -v --cov-report=xml --cov=s2fft --cov-config=.coveragerc -m "no slow"
61+
5762
- name: Run tests
63+
if: github.event_name != 'pull_request'
5864
run: |
5965
pytest -v --cov-report=xml --cov=s2fft --cov-config=.coveragerc
6066

0 commit comments

Comments
 (0)