Skip to content

Commit

Permalink
ci: don't cd into the dir you're already in
Browse files Browse the repository at this point in the history
  • Loading branch information
Fayti1703 committed Apr 26, 2024
1 parent 6a3987e commit e1e384b
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,19 +20,17 @@ jobs:
uses: actions/checkout@v3
- name: Prepare .NET tools
run: |
ls
ls BinaryMatrixPlayer
cd BinaryMatrixPlayer/BinaryMatrixEngine.Tests
cd BinaryMatrixEngine.Tests
dotnet tool restore
- name: Run Tests with Coverage
id: run_tests
continue-on-error: true
run: |
cd BinaryMatrixPlayer/BinaryMatrixEngine.Tests
cd BinaryMatrixEngine.Tests
dotnet dotCover cover-dotnet --Output=$HOME/coverage.report -- test
- name: Produce Coverage Report
run: |
cd BinaryMatrixPlayer/BinaryMatrixEngine.Tests
cd BinaryMatrixEngine.Tests
dotnet dotCover report --Source=$HOME/coverage.report --Output=$HOME/coverage.json --ReportType=JSON
- name: Upload Coverage Results
uses: actions/upload-artifact@v4
Expand Down

0 comments on commit e1e384b

Please sign in to comment.