-
Notifications
You must be signed in to change notification settings - Fork 41
44 lines (41 loc) · 1.02 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
name: e2e
on:
workflow_dispatch: ~
schedule:
- cron: "0 4,16 * * 1-5"
push:
branches:
- main
permissions:
contents: read
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@v5
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@v4
with:
name: test-results
path: "**/junit_*.xml"
if-no-files-found: error
- if: always()
uses: elastic/oblt-actions/slack/notify-result@v1
with:
bot-token: ${{ secrets.SLACK_BOT_TOKEN }}
channel-id: "#synthetics-notify"