Skip to content

Commit

Permalink
run all tests in the workspace
Browse files Browse the repository at this point in the history
  • Loading branch information
imor committed Jul 30, 2024
1 parent e19b561 commit 79017ec
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions .github/workflows/general.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ env:

jobs:
test:
name: Api Tests
name: Run Tests
runs-on: ubuntu-latest
services:
postgres:
Expand All @@ -33,10 +33,15 @@ jobs:
- name: Migrate database
run: |
sudo apt-get install libpq-dev -y
cd api
SKIP_DOCKER=true ./scripts/init_db.sh
- name: Run tests
run: cargo test
- name: Run api tests
run: |
cd api
cargo test
- name: Run non-api tests
run: |
cd ..
cargo test --workspace --exclude api
fmt:
name: Rustfmt
Expand Down

0 comments on commit 79017ec

Please sign in to comment.