Reqnroll support verification #23
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: Reqnroll support verification | |
| on: | |
| schedule: | |
| - cron: "25 19 * * 0" | |
| jobs: | |
| # Summary: | |
| # | |
| # Runs a subset of the unit tests for Reqnroll, across a matrix | |
| # of versions of this 3rd party library. | |
| # This verifies that I support the version range which I claim to support. | |
| # | |
| # If this begins failing then it likely means that Reqnroll have released | |
| # a version which includes breaking changes, and so the Screenplay support | |
| # policy/version range must be updated accordingly. | |
| test_reqnroll_versions: | |
| name: Verify Reqnroll support across versions | |
| runs-on: ubuntu-slim | |
| strategy: | |
| matrix: | |
| reqnroll_version: ['2.0.0', '2.*', '3.0.0', '3.*', '*'] | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| with: | |
| fetch-depth: 0 | |
| lfs: true | |
| - name: Setup build dependencies | |
| uses: ./.github/actions/setup-build-dependencies | |
| with: | |
| dotnet-version: ${{ vars.SDK_VERSION }} | |
| - name: Restore third party libs | |
| uses: ./.github/actions/restore-dependencies | |
| - name: Test Reqnroll (only) | |
| run: dotnet test Tests/CSF.Screenplay.Reqnroll.Tests -p:ReqnrollVersion=${{ matrix.reqnroll_version }} |