File tree Expand file tree Collapse file tree 1 file changed +32
-4
lines changed
Expand file tree Collapse file tree 1 file changed +32
-4
lines changed Original file line number Diff line number Diff line change @@ -318,10 +318,38 @@ jobs:
318318
319319 workarena-fast-tests :
320320 if : github.event_name == 'pull_request'
321- uses : ServiceNow/WorkArena/.github/workflows/unit-tests.yml@workarena-plus-plus
322- with :
323- run_fast_tests_only : true
324- secrets : inherit
321+ runs-on : ubuntu-latest
322+ steps :
323+ - name : Checkout Dependency Repo
324+ uses : actions/checkout@v4
325+
326+ - name : Checkout WorkArena
327+ uses : actions/checkout@v4
328+ with :
329+ repository : ServiceNow/WorkArena
330+ ref : workarena-plus-plus
331+ path : WorkArena
332+
333+ - name : Set up Python
334+ uses : actions/setup-python@v5
335+ with :
336+ python-version : ' 3.10'
337+ cache : ' pip'
338+
339+ - name : Install dependencies
340+ working-directory : WorkArena/dev
341+ run : pip install -r requirements.txt
342+
343+ - name : Install Playwright
344+ run : playwright install --with-deps
345+
346+ - name : Run fast tests
347+ working-directory : WorkArena
348+ env :
349+ SNOW_INSTANCE_URL : ${{ secrets.SNOW_INSTANCE_URL }}
350+ SNOW_INSTANCE_UNAME : ${{ secrets.SNOW_INSTANCE_UNAME }}
351+ SNOW_INSTANCE_PWD : ${{ secrets.SNOW_INSTANCE_PWD }}
352+ run : pytest -n 5 --durations=10 -m 'not slow and not pricy' --slowmo 1000 -v tests
325353
326354 scheduled-workarena-slow-tests :
327355 if : github.event_name == 'schedule'
You can’t perform that action at this time.
0 commit comments