-
Notifications
You must be signed in to change notification settings - Fork 0
33 lines (29 loc) · 802 Bytes
/
e2e.yml
File metadata and controls
33 lines (29 loc) · 802 Bytes
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
name: E2E Tests
on:
pull_request:
branches: [main, master]
push:
branches: [main, master]
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
e2e:
runs-on: ubuntu-latest
timeout-minutes: 50
# Only run if secrets are available (skip on forks).
if: github.repository == 'api7/a7'
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: '1.23.0'
- name: Download Go modules
run: go mod download
- name: Run E2E tests
env:
A7_ADMIN_URL: ${{ secrets.DEMO_WEBSITE }}
A7_TOKEN: ${{ secrets.DEMO_TOKEN }}
A7_GATEWAY_GROUP: default
run: make test-e2e