Repository navigation
Fix OIDC auth by switching from tag wildcard to GitHub Environment su… #3
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: CI | |
| on: | |
| push: | |
| branches: [main, development] | |
| pull_request: | |
| branches: [main] | |
| jobs: | |
| build-and-test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-dotnet@v4 | |
| with: | |
| dotnet-version: '9.0.x' | |
| - name: Restore | |
| working-directory: src | |
| run: dotnet restore Abm.Pyro.CI.slnf | |
| - name: Build | |
| working-directory: src | |
| run: dotnet build Abm.Pyro.CI.slnf -c Release --no-restore | |
| - name: Test Domain | |
| working-directory: src | |
| run: dotnet test Abm.Pyro.Domain.Test/Abm.Pyro.Domain.Test.csproj -c Release --no-build --verbosity normal | |
| - name: Test Application | |
| working-directory: src | |
| run: dotnet test Abm.Pyro.Application.Test/Abm.Pyro.Application.Test.csproj -c Release --no-build --verbosity normal |