diff --git a/.github/workflows/ci-core.yml b/.github/workflows/ci-core.yml index 6bafb4b..dddaba6 100644 --- a/.github/workflows/ci-core.yml +++ b/.github/workflows/ci-core.yml @@ -47,6 +47,9 @@ jobs: name: Container Tests runs-on: ubuntu-latest timeout-minutes: 10 + strategy: + matrix: + dotnet: [ '8.0.x', '7.0.x', '6.0.x' ] steps: - name: Check out code uses: actions/checkout@v3 @@ -54,10 +57,7 @@ jobs: - name: Install .NET Core SDK uses: actions/setup-dotnet@v3 with: - dotnet-version: | - 8.0.x - 7.0.x - 6.0.x + dotnet-version: ${{ matrix.dotnet }} - name: Run tests run: dotnet test -c Release /p:CollectCoverage=true /p:CoverletOutput=TestResult /p:CoverletOutputFormat=lcov