Skip to content

Commit

Permalink
Verify docker build
Browse files Browse the repository at this point in the history
  • Loading branch information
Kaliumhexacyanoferrat authored Dec 23, 2024
1 parent 821a338 commit 5522474
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,31 +43,41 @@ jobs:
dotnet new genhttp-webservice
cd webservice.Tests
dotnet test
cd ../webservice/
docker build -f Dockerfile.linux-x64 -t webservice .
- name: Test controller framework
run: |
mkdir -p /tmp/genhttp/controllers/
cd /tmp/genhttp/controllers/
dotnet new genhttp-webservice-controllers
cd controllers.Tests
dotnet test
cd ../controllers/
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
cd ../minimal/
docker build -f Dockerfile.linux-x64 -t minimal .
- name: Test static website
run: |
mkdir -p /tmp/genhttp/website/
cd /tmp/genhttp/website/
dotnet new genhttp-website-static
cd website.Tests
dotnet test
cd ../website/
docker build -f Dockerfile.linux-x64 -t website .
- name: Test websockets
run: |
mkdir -p /tmp/genhttp/websockets/
cd /tmp/genhttp/websockets/
dotnet new genhttp-websocket
cd websockets.Tests
dotnet test
cd ../websocket/
docker build -f Dockerfile.linux-x64 -t websocket .

0 comments on commit 5522474

Please sign in to comment.