Skip to content

Commit 8bbd59a

Browse files
committed
Update workflow
1 parent 3f1fdf0 commit 8bbd59a

File tree

1 file changed

+14
-2
lines changed

1 file changed

+14
-2
lines changed

.github/workflows/wf-build-test.yml

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,29 +60,41 @@ jobs:
6060
6.0.x
6161
6262
- name: Run test .NET 3.5
63+
working-directory: QRCoderTests
6364
run: dotnet test -c Release -f net35 --nologo --no-build # No coverage for NET3.5 because of bug in combination with Coverlet+Stronh naming
6465

6566
- name: Run test .NET 4.52
67+
working-directory: QRCoderTests
6668
run: dotnet test -c Release -f net452 --nologo --no-build # No coverage for NET4.5 because of bug in combination with Coverlet+Strong naming
6769

6870
- name: Run test .NET Core 1.1
69-
run: dotnet test -c Release -f netcoreapp1.1 --nologo # No coverage for .NETCORE 1.1 because Coverlet doesn't support it https://github.com/coverlet-coverage/coverlet/issues/466
71+
working-directory: QRCoderTests
72+
run: dotnet test -c Release -f netcoreapp1.1 --nologo --no-build # No coverage for .NETCORE 1.1 because Coverlet doesn't support it https://github.com/coverlet-coverage/coverlet/issues/466
7073

7174
- name: Run test .NET Core 2.0
72-
run: dotnet test -c Release -f netcoreapp2.0 --nologo /p:CollectCoverage=true /p:CoverletOutputFormat=opencover
75+
working-directory: QRCoderTests
76+
run: dotnet test -c Release -f netcoreapp2.0 --nologo --no-build /p:CollectCoverage=true /p:CoverletOutputFormat=opencover
7377

7478
- name: Run test .NET 5.0
79+
working-directory: QRCoderTests
7580
run: dotnet test -c Release -f net5.0 --nologo --no-build /p:CollectCoverage=true /p:CoverletOutputFormat=opencover
7681

7782
- name: Run test .NET 5.0 Windows
83+
working-directory: QRCoderTests
7884
run: dotnet test -c Release -f net5.0-windows --nologo --no-build /p:CollectCoverage=true /p:CoverletOutputFormat=opencover
7985

8086
- name: Run test .NET 6.0
87+
working-directory: QRCoderTests
8188
run: dotnet test -c Release -f net6.0 --nologo --no-build /p:CollectCoverage=true /p:CoverletOutputFormat=opencover
8289

8390
- name: Run test .NET 6.0 Windows
91+
working-directory: QRCoderTests
8492
run: dotnet test -c Release -f net6.0-windows --nologo --no-build /p:CollectCoverage=true /p:CoverletOutputFormat=opencover
8593

94+
- name: Run API approval tests
95+
working-directory: QRCoderApiTests
96+
run: dotnet test -c Release -f net6.0 --nologo --no-build
97+
8698
clean:
8799
needs: [build, test]
88100
if: always()

0 commit comments

Comments
 (0)