Integration Tests #335
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |