Skip to content

Integration Tests

Integration Tests #24

name: Integration Tests
on:
workflow_call: null
workflow_run:
workflows: ["Test"]
types:
- completed
push:
branches:
- main
pull_request:
branches:
- main
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
cancel-in-progress: true
jobs:
integration-tests:
runs-on: ubuntu-latest
if: ${{ github.event.workflow_run.conclusion == 'success' }}
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: Download Ruby Runtimes
run: ./scripts/download/ruby.sh
- name: Download Python Runtimes
run: ./scripts/download/python.sh
- 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') }}
- name: Run integration tests
run: make test/integration