Skip to content

Commit

Permalink
test the tests
Browse files Browse the repository at this point in the history
  • Loading branch information
notgiven688 committed Nov 23, 2024
1 parent 67a5071 commit f7ae8e7
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions .github/workflows/jitter-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,29 +28,29 @@ jobs:
dotnet-version: 9.0.x
- name: Restore dependencies
run: dotnet restore

- name: Build
run: dotnet build --no-restore

- name: Test
run: dotnet test -c Release --no-restore --test-adapter-path:. --logger "trx;LogFileName=test-results.trx"
- name: BuildDoublePrecision
run: dotnet build --no-restore -p:DefineConstants="USE_DOUBLE_PRECISION"
- name: TestDoublePrecision
run: dotnet test -c Release --no-restore --test-adapter-path:. --logger "trx;LogFileName=test-results-dp.trx"

- name: TestReport
uses: dorny/test-reporter@v1
if: success() || failure() # run this step even if previous step failed
if: always() # Run this step even if "Test" fails
with:
name: JitterTests # Name of the check run which will be created
path: ./src/JitterTests/TestResults/test-results.trx # Path to test results
reporter: dotnet-trx # Format of test results
name: JitterTests
path: ./src/JitterTests/TestResults/test-results.trx
reporter: dotnet-trx

- name: TestDP
run: dotnet test -c Release -p:DefineConstants="USE_DOUBLE_PRECISION" --no-restore --test-adapter-path:. --logger "trx;LogFileName=test-results-dp.trx"
if: always() # Run this step even if "Test" fails

- name: TestReportDoublePrecision
- name: TestReportDP
uses: dorny/test-reporter@v1
if: success() || failure() # run this step even if previous step failed
if: always() # Run this step even if "TestDP" fails
with:
name: JitterTestsDoublePrecision # Name of the check run which will be created
path: ./src/JitterTests/TestResults/test-results-dp.trx # Path to test results
reporter: dotnet-trx # Format of test results


name: JitterTestsDP
path: ./src/JitterTests/TestResults/test-results-dp.trx
reporter: dotnet-trx

0 comments on commit f7ae8e7

Please sign in to comment.