Skip to content

Commit db60fe9

Browse files
authored
Skip swe-bench testing PRs (#68)
* Skip swe-bench testing PRs * Run full test daily at 8:30am
1 parent 1e097b6 commit db60fe9

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/tests.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
# The branches below must be a subset of the branches above
88
branches: [ "main" ]
99
schedule:
10-
- cron: '37 20 * * 3'
10+
- cron: '30 8 * * *'
1111

1212
jobs:
1313
tests:
@@ -30,6 +30,11 @@ jobs:
3030
run: |
3131
pip install --upgrade pip
3232
pip install -e '.[dev]'
33+
- name: Test with pytest - PR
34+
if: github.event_name == 'pull_request'
35+
run: |
36+
FROGGY_DEBUG=1 pytest -n 16 -vv -k "not test_swe_bench" --cov=. --cov-report=term-missing --cov-fail-under=85
3337
- name: Test with pytest
38+
if: github.event_name != 'pull_request'
3439
run: |
3540
FROGGY_DEBUG=1 pytest -n 4 -vv --cov=. --cov-report=term-missing --cov-fail-under=90

0 commit comments

Comments
 (0)