ci(version): GitVersion semver computed in the pipeline + GHCR image … #13
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: Frontend Tests | |
| on: | |
| push: | |
| branches: [master, main, develop] | |
| pull_request: | |
| branches: [master, main] | |
| jobs: | |
| client-unit-tests: | |
| name: Client.Tests (bUnit) | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Setup .NET 10 | |
| uses: actions/setup-dotnet@v4 | |
| with: | |
| dotnet-version: '10.0.x' | |
| - name: Run bUnit component tests | |
| run: dotnet test tests/Client.Tests/Client.Tests.csproj -c Release --logger "console;verbosity=normal" | |
| # The AcceptanceTests project (Reqnroll + Testcontainers + Playwright) is built by | |
| # the Build pipeline and is intended to be run locally (it spins up the full stack | |
| # in Docker and drives a browser, which is too slow/heavy for every CI push): | |
| # dotnet test tests/AcceptanceTests/AcceptanceTests.csproj |