Skip to content

Commit

Permalink
ci: WIP new integration test workflow
Browse files Browse the repository at this point in the history
no idea what the docker command will do...
  • Loading branch information
BlairCurrey committed Mar 19, 2024
1 parent 642e7a2 commit 0769ce7
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/integration_test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
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: pnpm --filter integration run-tests

0 comments on commit 0769ce7

Please sign in to comment.