ci: add integration test to lint_test_build #4
Workflow file for this run
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
on: | |
push: | |
branches: | |
- '!main' | |
pull_request: | |
types: | |
- opened | |
- synchronize | |
name: Integration Tests | |
# TODO: these show as seperate checks in PR... shouldn't | |
jobs: | |
checkout: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ./.github/workflows/rafiki/env-setup | |
setup-hosts: | |
runs-on: ubuntu-22.04 | |
needs: checkout | |
steps: | |
- name: Add host.docker.internal to hosts file | |
run: echo "127.0.0.1 host.docker.internal" | sudo tee -a /etc/hosts | |
test: | |
runs-on: ubuntu-22.04 | |
needs: checkout | |
timeout-minutes: 10 # TODO: lower? | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ./.github/workflows/rafiki/env-setup | |
- run: pnpm --filter integration build:deps | |
- run: pnpm --filter integration run-tests |