Bump AwesomeAssertions from 8.1.0 to 9.2.1 #184
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: Integration Tests | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| jobs: | |
| test: | |
| strategy: | |
| matrix: | |
| os: [ubuntu-latest] | |
| dotnet-version: ["9"] | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v5 | |
| - name: Setup .NET Core | |
| uses: actions/setup-dotnet@v5 | |
| with: | |
| dotnet-version: ${{ matrix.dotnet-version }} | |
| - name: Log into registry | |
| # GHCR_PAT is a personal access token for the Github Container Registry; You can create it using the following steps: | |
| # 1) Go to https://github.com/settings/tokens | |
| # 2) Create a new token (classic as of 2025-05-15) | |
| # 3) Select the following scopes: read:packages | |
| # GHCR_USR is the username for the Github Container Registry; it has to match the PAT and is the username of the Github account that created the PAT | |
| # You can update the tokens in the repository settings: | |
| # https://github.com/Hochfrequenz/AhbichtClient.net/settings/secrets/actions/GHCR_PAT | |
| # https://github.com/Hochfrequenz/AhbichtClient.net/settings/secrets/actions/GHCR_USR | |
| # Tokens will expire 2026-05-15 | |
| run: echo "${{ secrets.GHCR_PAT }}" | docker login ghcr.io -u ${{ secrets.GHCR_USR }} --password-stdin | |
| - name: Start containers | |
| run: docker compose -f "AhbichtClient/AhbichtClient.IntegrationTest/docker-compose.yml" up -d | |
| - name: Install dependencies | |
| working-directory: AhbichtClient | |
| run: dotnet restore AhbichtClient.sln | |
| - name: Build | |
| working-directory: AhbichtClient | |
| run: dotnet build --no-restore | |
| - name: Run Integration Tests | |
| working-directory: AhbichtClient/AhbichtClient.IntegrationTest | |
| run: | | |
| dotnet test | |
| - name: Run Integration Tests (against real service) | |
| working-directory: AhbichtClient/AhbichtClient.IntegrationTest | |
| env: | |
| CLIENT_ID: ${{ secrets.AUTH0_TEST_CLIENT_ID }} | |
| CLIENT_SECRET: ${{ secrets.AUTH0_TEST_CLIENT_SECRET }} | |
| run: | | |
| dotnet test --filter TestCollectionName='authenticated' | |
| - name: Run Integration Tests for Example Application | |
| working-directory: AhbichtClient/ExampleAspNetCoreApplication.Test | |
| run: | | |
| dotnet build --no-restore | |
| dotnet test |