Skip to content

Commit

Permalink
Fixed Workflow file
Browse files Browse the repository at this point in the history
  • Loading branch information
DAQEM committed Jan 14, 2024
1 parent 76c8cb8 commit 9eba7f6
Showing 1 changed file with 26 additions and 4 deletions.
30 changes: 26 additions & 4 deletions .github/workflows/test_all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,18 +15,40 @@ permissions:
checks: write

jobs:
api-gateway:
name: API Gateway
runs-on: ubuntu-latest
env:
working-directory: Services/Netmon.APIGateway

steps:
- uses: actions/checkout@v3
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: 8.0.x
- name: Restore dependencies
run: dotnet restore
working-directory: ${{env.working-directory}}
- name: Build
run: dotnet build --no-restore
working-directory: ${{env.working-directory}}
- name: Test
run: dotnet test --no-build --verbosity normal --collect:"XPlat Code Coverage" --results-directory ./TestResults
working-directory: ${{env.working-directory}}

account-service:
name: Account Service
runs-on: ubuntu-latest
env:
working-directory: Services/AccountService
working-directory: Services/Netmon.AccountService

steps:
- uses: actions/checkout@v3
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: 7.0.x
dotnet-version: 8.0.x
- name: Restore dependencies
run: dotnet restore
working-directory: ${{env.working-directory}}
Expand All @@ -48,7 +70,7 @@ jobs:
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: 7.0.x
dotnet-version: 8.0.x
- name: Restore dependencies
run: dotnet restore DeviceManagerService.sln
working-directory: ${{env.working-directory}}
Expand All @@ -71,7 +93,7 @@ jobs:
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: 7.0.x
dotnet-version: 8.0.x

- name: Restore dependencies
run: dotnet restore SNMPPollingService.sln
Expand Down

0 comments on commit 9eba7f6

Please sign in to comment.