Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,18 +25,18 @@ jobs:
dotnet-version: ${{ matrix.dotnet-version }}

- name: Restore dependencies
run: dotnet restore
run: dotnet restore ToonFormat.sln

- name: Build
run: dotnet build --no-restore --configuration Release
run: dotnet build ToonFormat.sln --no-restore --configuration Release

- name: Run tests
run: dotnet test --no-build --configuration Release --verbosity normal
run: dotnet test ToonFormat.sln --no-build --configuration Release --verbosity normal

- name: Run tests with coverage
if: matrix.os == 'ubuntu-latest' && matrix.dotnet-version == '8.0'
run: |
dotnet test --configuration Release --collect:"XPlat Code Coverage" --results-directory ./coverage
dotnet test ToonFormat.sln --configuration Release --collect:"XPlat Code Coverage" --results-directory ./coverage

- name: Upload coverage to Codecov
if: matrix.os == 'ubuntu-latest' && matrix.dotnet-version == '8.0'
Expand Down
Loading