Skip to content

ci: add integration test to lint_test_build #3

ci: add integration test to lint_test_build

ci: add integration test to lint_test_build #3

on:
push:
branches:
- '!main'
pull_request:
types:
- opened
- synchronize
name: Integration Tests
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: docker-compose -v
- run: docker compose version
- run: pnpm --filter integration build:deps
- run: pnpm --filter integration run-tests