File tree Expand file tree Collapse file tree 1 file changed +2
-12
lines changed
Expand file tree Collapse file tree 1 file changed +2
-12
lines changed Original file line number Diff line number Diff line change 77 pull_request :
88 schedule :
99 - cron : ' 59 23 * * SUN' # Runs at midnight on Sunday
10- repository_dispatch :
11- types : [dependency-update]
12- workflow_call :
13- inputs :
14- run_fast_tests_only :
15- description : ' Run only fast tests'
16- required : false
17- type : boolean
18- default : false
1910
2011jobs :
12+
2113 code-format :
2214 runs-on : ubuntu-latest
2315 defaults :
7971 run : pytest -n 5 --durations=10 -m 'not slow and not pricy' --slowmo 1000 -v tests
8072
8173 browsergym-workarena-slow :
82- if : ${{ !inputs.run_fast_tests_only }}
8374 runs-on : ubuntu-latest
8475
8576 defaults :
@@ -115,9 +106,8 @@ jobs:
115106 run : pytest -n 5 --durations=10 -m 'slow and not pricy' --slowmo 1000 -v tests
116107
117108 end-to-end-tests :
118- # Runs on the schedule (once a week on a Sunday) OR if browsergym has had a commit to main
119- if : ${{ !inputs.run_fast_tests_only && (github.event_name == 'schedule' || github.event_name == 'repository_dispatch') }}
120109 runs-on : ubuntu-latest
110+ if : github.event_name == 'schedule'
121111 defaults :
122112 run :
123113 shell : bash -l {0}
You can’t perform that action at this time.
0 commit comments