We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent af84ae2 commit e2ec92aCopy full SHA for e2ec92a
.github/workflows/e2e.yml
@@ -0,0 +1,33 @@
1
+name: E2E
2
+
3
+on:
4
+ pull_request:
5
6
+jobs:
7
+ e2e:
8
+ runs-on: ubuntu-latest
9
+ steps:
10
+ - uses: actions/checkout@v4
11
+ - uses: actions/setup-go@v5
12
+ with:
13
+ go-version: stable
14
+ - uses: browser-actions/setup-chrome@v1
15
+ id: chrome
16
+ - name: Install ffmpeg
17
+ run: sudo apt-get update && sudo apt-get install -y ffmpeg
18
+ - name: Run e2e tests
19
+ env:
20
+ CHROME_BIN: ${{ steps.chrome.outputs.chrome-path }}
21
+ CHROMEDP_NO_SANDBOX: "1"
22
+ E2E_RECORD: "1"
23
+ E2E_RECORD_FORMAT: gif
24
+ E2E_RECORD_FPS: "6"
25
+ run: make test-e2e
26
+ - name: Upload e2e gifs
27
+ if: always()
28
+ uses: actions/upload-artifact@v4
29
30
+ name: e2e-gifs
31
+ path: e2e-artifacts
32
+ if-no-files-found: warn
33
+ retention-days: 7
0 commit comments