Skip to content

Commit

Permalink
Nohup & gebruik bij runnen
Browse files Browse the repository at this point in the history
om toch ervoor te zorgen dat de server live blijft die van dotnet run ontstaat
  • Loading branch information
safouuwa committed Nov 9, 2024
1 parent e899a61 commit ebd127a
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@ jobs:
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.0.x
- name: Start C# API in the background
run: |
nohup dotnet run--urls "http://localhost:3000" &
echo "C# API started"
- name: Set up Python
uses: actions/setup-python@v4
with:
Expand All @@ -42,7 +46,6 @@ jobs:
run: |
python -m pip install --upgrade pip
pip install pytest httpx
- name: Run C# APi & Python unit tests
- name: Run Python unit tests
run: |
dotnet run
pytest

0 comments on commit ebd127a

Please sign in to comment.