Skip to content

Commit

Permalink
Run db integration tests on CI
Browse files Browse the repository at this point in the history
  • Loading branch information
m.kindritskiy committed Sep 15, 2024
1 parent 93d7555 commit c3cbacd
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
11 changes: 11 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,17 @@ jobs:
- name: Run unit tests
run: tox run -- --cov-report=term

test-db:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install Lets
uses: lets-cli/[email protected]
with:
version: latest
- name: Test database integration
run: timeout 600 lets test-pg

federation-test:
runs-on: ubuntu-latest
steps:
Expand Down
2 changes: 1 addition & 1 deletion lets.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ commands:
test-pg:
description: Run tests with pg
depends: [_build-tests]
cmd: [docker-compose, run, --rm, test-pg]
cmd: [docker compose, run, --rm, test-pg]

test-tox:
description: Run tests using tox
Expand Down

0 comments on commit c3cbacd

Please sign in to comment.