Skip to content

Commit

Permalink
dotnet test no build and db-init increase timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
juuwel committed Apr 24, 2024
1 parent 4fa0ce4 commit 15b27c6
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ on:
pull_request:
branches:
- main
push:
branches:
- tests
workflow_dispatch:

jobs:
Expand Down Expand Up @@ -55,12 +58,12 @@ jobs:
run: pwd && ls

- name: Populate database
run: timeout 30 dotnet run --db-init --project api
run: timeout 120 dotnet run --db-init --project api

- name: Run tests
env:
BotaniqueDb: Host=localhost;Database=TestDatabase;Username=testuser;Password=password
run: cd Tests && dotnet test
run: cd Tests && dotnet test --no-build



Expand Down

0 comments on commit 15b27c6

Please sign in to comment.