Skip to content

Commit

Permalink
dotnet run first
Browse files Browse the repository at this point in the history
  • Loading branch information
juuwel committed Apr 25, 2024
1 parent 8c4a363 commit a86ec5c
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
@@ -1,3 +1,5 @@
name: Tests

on:
pull_request:
branches:
Expand Down Expand Up @@ -57,12 +59,13 @@ jobs:
- name: Create database
env:
REMOTE_TESTING: "true"
run: dotnet run
run: dotnet run &
(sleep 60 && kill -9 $(lsof -t -i:5141))

- 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 a86ec5c

Please sign in to comment.