forked from testground/testground
-
Notifications
You must be signed in to change notification settings - Fork 0
40 lines (38 loc) · 1.07 KB
/
integration-tests.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
on:
push:
branches:
- master
pull_request:
name: Integration Tests
concurrency:
group: ${{ github.head_ref || github.ref }}
cancel-in-progress: true
jobs:
unit:
strategy:
fail-fast: false
matrix:
suite: [ "docker_examples", "local_exec", "local_docker" ]
os: [ "ubuntu" ]
go: [ "1.16.x" ]
env:
COVERAGES: ""
runs-on: ${{ format('{0}-latest', matrix.os) }}
name: "[${{ matrix.suite }}] on ${{ matrix.os }} (go ${{ matrix.go }})"
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: ${{ matrix.go }}
- name: Go information
run: |
go version
go env
- name: Install Testground
# Required to get the sync-service and other docker containers used by the daemon.
run: |
make install
- name: Run tests
run: |
# we disabled `-shuffle=on` until we upgrade past go 1.17
go test -tags "integration,${{ matrix.suite }}" -timeout 20m -parallel 1 -v ./pkg/integration/...