-
Notifications
You must be signed in to change notification settings - Fork 1
52 lines (43 loc) · 1.29 KB
/
test-integration.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
45
46
47
48
49
50
51
52
name: Integration Tests
on:
workflow_call:
workflow_run:
workflows: ["Test"]
types:
- completed
push:
branches:
- main
- release-*
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
cancel-in-progress: true
jobs:
integration-tests:
runs-on: ubuntu-latest
steps:
- name: Check out the code
uses: actions/[email protected]
- name: Install devbox
uses: jetpack-io/[email protected]
with:
enable-cache: true
- name: Setup devbox
run: devbox run -- echo "done!"
- name: Load devbox shellenv
uses: HatsuneMiku3939/direnv-action@v1
with:
direnvVersion: 2.32.3
- name: Build
run: make build
- name: Set up cache for test runtimes
uses: actions/[email protected]
with:
path: ./tests/integration/binaries
key: ${{ runner.arch }}-integration-runtimes-${{ hashFiles('scripts/download/*.sh') }}
restore-keys: |
${{ runner.arch }}-integration-runtimes-${{ hashFiles('scripts/download/*.sh') }}
${{ runner.arch }}-integration-runtimes
- name: Run integration tests
run: make ARCH="amd64" generate/python generate/ruby test/integration