-
Notifications
You must be signed in to change notification settings - Fork 89
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: WIP new integration test workflow
no idea what the docker command will do...
- Loading branch information
1 parent
642e7a2
commit 0769ce7
Showing
1 changed file
with
33 additions
and
0 deletions.
There are no files selected for viewing
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
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 |