-
Notifications
You must be signed in to change notification settings - Fork 29
43 lines (34 loc) · 955 Bytes
/
e2e_test.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: End-to-End test
on:
pull_request:
types: [opened, synchronize]
branches-ignore:
- main
jobs:
build:
runs-on: ubuntu-latest
container:
image: golang:1.22.5
env:
CGO_ENABLED: 0 # Statically linked
steps:
- name: Setting GIT
run: git config --global url."https://${{ secrets.GLOBAL_TOKEN }}:[email protected]/aziontech".insteadOf "https://github.com/aziontech"
- uses: actions/setup-node@v3
with:
node-version: 18
- name: Checkout code
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Setting up a secure repository
run: git config --global --add safe.directory /__w/azion/azion
- name: Install jq
run: |
apt update
apt install -y jq
- name: e2e test
run: |
bash ./scripts/e2e.sh
env:
TOKEN: ${{ secrets.E2E_TOKEN }}