-
-
Notifications
You must be signed in to change notification settings - Fork 26
46 lines (38 loc) · 1.06 KB
/
e2e.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
on:
workflow_dispatch:
push:
branches:
- main
pull_request:
merge_group:
name: E2E
jobs:
e2e-vite:
name: Playwright E2E @evmts/example-vite
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
submodules: recursive
- name: Run @evmts/vite-example tests
run: docker-compose up --build --abort-on-container-exit --exit-code-from e2e e2e
env:
NX_CLOUD_ACCESS_TOKEN: ${{ secrets.NX_CLOUD_ACCESS_TOKEN }}
ANVIL_FORK_URL_1: ${{ secrets.RPC_URL_MAINNET }}
- name: 'Upload test-results artifacts'
uses: actions/upload-artifact@v3
if: failure()
with:
name: test-results
path: e2e/test-results/**/*
retention-days: 15
- name: 'Upload playwright-report'
uses: actions/upload-artifact@v3
if: failure()
with:
name: test-results
path: e2e/playwright-report/**/*
retention-days: 15
- name: Shutdown Anvil
run: pkill -2 anvil