-
Notifications
You must be signed in to change notification settings - Fork 42
43 lines (41 loc) · 1.12 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
name: e2e
on:
workflow_dispatch: ~
schedule:
- cron: "0 4,16 * * 1-5"
push:
branches:
- main
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
cache: npm
node-version-file: .nvmrc
- uses: actions/setup-go@v4
with:
go-version: 1.21
- run: npm ci
- run: npm run build
- run: npm install
working-directory: __tests__/e2e
- run: npm run test:ci_integration_all
working-directory: __tests__/e2e
env:
TERM: xterm # this is needed for tput
- if: success() || failure()
uses: actions/upload-artifact@v3
with:
name: test-results
path: "**/junit_*.xml"
if-no-files-found: error
- if: always()
uses: elastic/apm-pipeline-library/.github/actions/notify-build-status@current
with:
vaultUrl: ${{ secrets.VAULT_ADDR }}
vaultRoleId: ${{ secrets.VAULT_ROLE_ID }}
vaultSecretId: ${{ secrets.VAULT_SECRET_ID }}
slackChannel: "#synthetics-notify"