Skip to content

Commit

Permalink
Multi-target tests
Browse files Browse the repository at this point in the history
  • Loading branch information
manuelbl committed Dec 6, 2024
1 parent 933fe66 commit b71f613
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,15 @@ jobs:
with:
dotnet-version: ${{ matrix.dotnet-version }}
- name: Restore test project
run: dotnet restore --verbosity normal -p:TargetFramework=net${{ matrix.dotnet-version }} QrCodeGeneratorTest
run: dotnet restore -p:TargetFramework=net${{ matrix.dotnet-version }} --verbosity normal QrCodeGeneratorTest
- name: Restore library
run: dotnet restore --verbosity normal -p:TargetFramework=netstandard2.0 QrCodeGenerator
run: dotnet restore --no-dependencies -p:TargetFramework=netstandard2.0 --verbosity normal QrCodeGenerator
- name: Build library
run: dotnet build --configuration Release --no-restore --verbosity normal -p:TargetFramework=netstandard2.0 QrCodeGenerator
run: dotnet build --configuration Release --no-restore -p:TargetFramework=netstandard2.0 --verbosity normal QrCodeGenerator
- name: Build test project
run: dotnet build --configuration Release --no-restore --verbosity normal -p:TargetFramework=net${{ matrix.dotnet-version }} QrCodeGeneratorTest
run: dotnet build --configuration Release --no-restore -p:TargetFramework=net${{ matrix.dotnet-version }} --verbosity normal QrCodeGeneratorTest
- name: Run tests
run: dotnet test --no-build --verbosity normal --logger:"html;LogFileName=../../TestResults-${{ matrix.os }}-dotnet_${{ matrix.dotnet-version }}.html" -P:TargetFramework=netnet${{ matrix.dotnet-version }} QrCodeGeneratorTest
run: dotnet test --configuration Release --no-build -P:TargetFramework=net${{ matrix.dotnet-version }} --logger:"html;LogFileName=../../TestResults-${{ matrix.os }}-dotnet_${{ matrix.dotnet-version }}.html" --verbosity normal QrCodeGeneratorTest
- name: Upload test results
uses: actions/upload-artifact@v4
if: always()
Expand Down

0 comments on commit b71f613

Please sign in to comment.