This repository was archived by the owner on May 12, 2026. It is now read-only.
Create and prefill test account if enabled #305
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: .NET Build & Test | |
| on: | |
| push: | |
| branches: | |
| - '*' | |
| pull_request: | |
| branches: | |
| - '*' | |
| workflow_dispatch: | |
| jobs: | |
| test: | |
| name: Build & Test | |
| runs-on: ubuntu-latest | |
| env: | |
| BonesBackendConfiguration__UseInMemoryDb: true | |
| ASPNETCORE_ENVIRONMENT: "Development" | |
| DOTNET_ENVIRONMENT: "Development" | |
| steps: | |
| - name: Checkout Repo | |
| uses: actions/checkout@v4 | |
| - name: Setup Environment | |
| uses: ./.github/actions/setup-env | |
| - name: Build | |
| run: | | |
| dotnet build --configuration Debug --no-incremental | |
| git diff --quiet || exit 1 | |
| - name: Test | |
| run: dotnet test --no-build |