workflows/parallel-testing-ci.yml runs the same parallel test strategy as
azure-pipelines.yml.
The workflow runs for pull requests and pushes targeting master, on a weekly
schedule at 03:00 UTC on Monday, and can also be started manually from the
GitHub Actions page.
The workflow creates five Ubuntu jobs with a matrix. Each job:
- Checks out the repository and installs the SDK specified by
global.json. - Restores dependencies and builds the project.
- Lists NUnit tests and sources
create_slicing_filter_condition.sh. - Sets the same
SYSTEM_TOTALJOBSINPHASEandSYSTEM_JOBPOSITIONINPHASEvalues used by Azure Pipelines, so each job runs one fifth of the test suite. - Runs its selected tests with
dotnet test --no-build --filter.
The matrix uses fail-fast: false, so all five slices finish and report their
results even when one slice fails.