Skip to content

Commit 3cfdbc7

Browse files
authored
Merge branch 'main' into mmg/update-test-matrix
2 parents 322e7f8 + 0de6f11 commit 3cfdbc7

File tree

4 files changed

+401
-346
lines changed

4 files changed

+401
-346
lines changed

.github/workflows/tests.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,13 @@ jobs:
7979
python -m pip install --upgrade pip
8080
pip install .[tests]
8181
82+
- name: Run tests (skipping slow)
83+
if: github.event_name == 'pull_request'
84+
run: |
85+
pytest -v --cov-report=xml --cov=s2fft --cov-config=.coveragerc -m "not slow"
86+
8287
- name: Run tests
88+
if: github.event_name != 'pull_request'
8389
run: |
8490
pytest -v --cov-report=xml --cov=s2fft --cov-config=.coveragerc
8591

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@ filterwarnings = [
9898
"ignore::DeprecationWarning",
9999
"ignore:FutureWarning",
100100
]
101+
markers = ["slow: mark test as slow"]
101102

102103
[tool.ruff]
103104
fix = true

0 commit comments

Comments
 (0)