Skip to content

Commit

Permalink
Update ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Kaliumhexacyanoferrat authored Dec 23, 2024
1 parent 46e65f1 commit 7e25415
Showing 1 changed file with 15 additions and 11 deletions.
26 changes: 15 additions & 11 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,9 @@ jobs:
dotnet new genhttp-webservice
cd webservice.Tests
dotnet test
dotnet clean
cd ../
cd /tmp/genhttp/webservice/
rm -rf ./webservice/bin/
rm -rf ./webservice/obj/
docker build -f Dockerfile.linux-x64 -t webservice .
- name: Test controller framework
run: |
Expand All @@ -53,18 +54,19 @@ jobs:
dotnet new genhttp-webservice-controllers
cd controllers.Tests
dotnet test
dotnet clean
cd ../
cd /tmp/genhttp/controllers/
rm -rf ./controllers/bin/
rm -rf ./controllers/obj/
docker build -f Dockerfile.linux-x64 -t controllers .
- name: Test minimal framework
run: |
mkdir -p /tmp/genhttp/minimal/
cd /tmp/genhttp/minimal/
dotnet new genhttp-webservice-minimal
cd minimal.Tests
dotnet test
dotnet clean
cd ../
cd /tmp/genhttp/minimal/
rm -rf ./minimal/bin/
rm -rf ./minimal/obj/
docker build -f Dockerfile.linux-x64 -t minimal .
- name: Test static website
run: |
Expand All @@ -73,8 +75,9 @@ jobs:
dotnet new genhttp-website-static
cd website.Tests
dotnet test
dotnet clean
cd ../
cd /tmp/genhttp/website/
rm -rf ./website/bin/
rm -rf ./website/obj/
docker build -f Dockerfile.linux-x64 -t website .
- name: Test websockets
run: |
Expand All @@ -83,6 +86,7 @@ jobs:
dotnet new genhttp-websocket
cd websockets.Tests
dotnet test
dotnet clean
cd ../
cd /tmp/genhttp/websockets/
rm -rf ./websockets/bin/
rm -rf ./websockets/obj/
docker build -f Dockerfile.linux-x64 -t websocket .

0 comments on commit 7e25415

Please sign in to comment.