Skip to content

Commit

Permalink
ci: Add github workflow to run all tests
Browse files Browse the repository at this point in the history
Signed-off-by: Mike Sul <[email protected]>
  • Loading branch information
mike-sul committed Sep 18, 2024
1 parent e7fcf97 commit a8fd8e5
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Tests
on:
push:
pull_request:
branches:
- main

jobs:
test:
name: Build and run all tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: build
run: docker compose --env-file=test/compose/.env.test -f test/compose/docker-compose.yml run composectl make
- name: test
run: docker compose --env-file=test/compose/.env.test -f test/compose/docker-compose.yml run composectl make test-e2e
- name: teardown test env
run: docker compose --env-file=test/compose/.env.test -f test/compose/docker-compose.yml down

0 comments on commit a8fd8e5

Please sign in to comment.