We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f6a70b5 + 42fa035 commit 28652acCopy full SHA for 28652ac
.github/workflows/tests.yaml
@@ -73,8 +73,11 @@ jobs:
73
pytest -x -m "not slow"
74
75
- name: Run Slow Tests
76
- # run all slow tests only on manual trigger
77
- if: github.event_name == 'workflow_dispatch'
+ # Run slow tests on manual trigger and pushes/PRs to main.
+ # Limit to one OS and Python version to save compute.
78
+ # Multiline if statements are weird, https://github.com/orgs/community/discussions/25641,
79
+ # but feel free to convert it.
80
+ if: ${{ ((github.event_name == 'workflow_dispatch') || (github.event_name == 'push' && github.ref_name == 'main') || (github.event_name == 'pull_request' && github.base_ref == 'main')) && ((matrix.os == 'windows-latest') && (matrix.python-version == '3.10')) }}
81
run: |
82
pytest -m "slow"
83
0 commit comments