This repository was archived by the owner on Feb 20, 2026. It is now read-only.
Register all database models in a single location #7876
Workflow file for this run
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: Clean Environment Tests | |
| on: | |
| workflow_dispatch: | |
| push: | |
| branches: [ main ] | |
| paths: | |
| - ".github/workflows/clean_environment_tests.yaml" | |
| - "src/**" | |
| - "tests/**" | |
| - "**.props" | |
| - "**.targets" | |
| pull_request: | |
| branches: [ main ] | |
| paths: | |
| - ".github/workflows/clean_environment_tests.yaml" | |
| - "src/**" | |
| - "tests/**" | |
| - "**.props" | |
| - "**.targets" | |
| types: [ opened, synchronize, reopened, ready_for_review ] | |
| jobs: | |
| draft: | |
| if: github.event_name == 'pull_request' && github.event.pull_request.draft == true | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Fails because it's a draft PR | |
| run: exit 1 | |
| build-and-test: | |
| if: github.event_name == 'push' || github.event.pull_request.draft == false | |
| uses: Nexus-Mods/NexusMods.App.Meta/.github/workflows/dotnet-build-and-test-with-osx.yaml@main | |
| with: | |
| extra-test-args: "--blame-hang-timeout 20m" | |
| test-filter: "RequiresNetworking!=True&FlakeyTest!=True" | |
| codecov-flags: ",clean_environment_tests" |