File tree Expand file tree Collapse file tree 2 files changed +34
-6
lines changed
Expand file tree Collapse file tree 2 files changed +34
-6
lines changed Original file line number Diff line number Diff line change 11name : Playwright Tests
22on :
33 push :
4- branches : [ main, master ]
4+ branches : [main]
55 pull_request :
6- branches : [ main, master ]
6+ branches : [main]
77jobs :
88 test :
9- timeout-minutes : 60
9+ timeout-minutes : 120
1010 runs-on : ubuntu-latest
1111 steps :
1212 - uses : actions/checkout@v4
13+
1314 - uses : actions/setup-node@v4
1415 with :
1516 node-version : lts/*
17+
18+ - name : Set up Docker
19+ uses : docker/setup-buildx-action@v2
20+
21+ - name : Install Aztec CLI
22+ run : |
23+ curl -s https://install.aztec.network > tmp.sh
24+ bash tmp.sh <<< yes "yes"
25+
26+ - name : Update path
27+ run : echo "/home/runner/.aztec/bin" >> $GITHUB_PATH
28+
29+ - name : Set Aztec version and start sandbox
30+ run : |
31+ aztec-up 0.87.2
32+ aztec start --sandbox &
33+
34+ - name : Compile contracts
35+ run : script -e -c "${AZTEC_NARGO:-aztec-nargo} compile"
36+ working-directory : ./contracts
37+
1638 - name : Install dependencies
39+ working-directory : ./app
1740 run : npm install -g yarn && yarn
41+
1842 - name : Install Playwright Browsers
43+ working-directory : ./app
1944 run : yarn playwright install --with-deps
45+
2046 - name : Run tests
47+ working-directory : ./app
2148 run : yarn test
49+
2250 - uses : actions/upload-artifact@v4
2351 if : ${{ !cancelled() }}
2452 with :
2553 name : playwright-report
26- path : playwright-report/
54+ path : app/ playwright-report/
2755 retention-days : 30
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ export default defineConfig({
1616 trace : 'on-first-retry' ,
1717 video : 'on-first-retry' ,
1818 } ,
19- timeout : 120_000 ,
19+ timeout : 150_000 ,
2020 projects : [
2121 {
2222 name : 'chromium' ,
@@ -36,6 +36,6 @@ export default defineConfig({
3636 command : 'PORT=3000 yarn serve' ,
3737 url : 'http://127.0.0.1:3000' ,
3838 reuseExistingServer : ! process . env . CI ,
39- timeout : 10_000 ,
39+ timeout : 30_000 ,
4040 } ,
4141} ) ;
You can’t perform that action at this time.
0 commit comments