Skip to content

Run tests across .NET versions using a CI matrix#126

Open
leonibr wants to merge 1 commit into
masterfrom
ci/dotnet-test-version-matrix
Open

Run tests across .NET versions using a CI matrix#126
leonibr wants to merge 1 commit into
masterfrom
ci/dotnet-test-version-matrix

Conversation

@leonibr

@leonibr leonibr commented Jun 6, 2026

Copy link
Copy Markdown
Owner

Summary

  • Runs the .NET Test & Coverage workflow in parallel across .NET 8, 9, and 10 using a GitHub Actions matrix (fail-fast: false).
  • Installs one SDK per job via ${{ matrix.dotnet-version }} instead of installing all SDKs in a single job.
  • Names test and coverage artifacts per .NET version to avoid collisions between matrix jobs.
  • Pins the PostgreSQL test image to postgres:17 and drops unused issues: write workflow permission.

Note: The matrix strategy itself was already merged upstream in #100. This PR includes that behavior plus the small CI hardening tweaks above.

Test plan

  • Confirm GitHub Actions runs three parallel jobs for 8.0.x, 9.0.x, and 10.0.x
  • Verify all matrix jobs pass on Ubuntu with Testcontainers
  • Confirm artifacts are uploaded as test-results-<version>, coverage-report-<version>, and html-coverage-report-<version>
  • Confirm coverage summaries appear independently in each job log without conflicts

Pin the PostgreSQL test image to postgres:17, drop unused issues write permission, and clarify Ryuk cleanup comments alongside the existing .NET version matrix.

Co-authored-by: Cursor <cursoragent@cursor.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant