-
Notifications
You must be signed in to change notification settings - Fork 35
Open
Description
I think this is a bug?
Duration says 28 ms
but in the step test its Duration is: 28s 102 ms
Build started 10/30/2025 12:08:13.
1>Project "/home/runner/work/shopphi/shopphi/tests/Shopphi.Order.IntegrationTests/Shopphi.Order.IntegrationTests.csproj" on node 1 (VSTest target(s)).
1>InvokeTestingPlatform:
Run tests: '/home/runner/work/shopphi/shopphi/tests/Shopphi.Order.IntegrationTests/bin/Release/net9.0/Shopphi.Order.IntegrationTests.dll' [net9.0|x64]
Passed! - Failed: 0, Passed: 5, Skipped: 0, Total: 5, Duration: 28s 102ms
Tests succeeded: '/home/runner/work/shopphi/shopphi/tests/Shopphi.Order.IntegrationTests/bin/Release/net9.0/Shopphi.Order.IntegrationTests.dll' [net9.0|x64]
1>Done Building Project "/home/runner/work/shopphi/shopphi/tests/Shopphi.Order.IntegrationTests/Shopphi.Order.IntegrationTests.csproj" (VSTest target(s)).
These are 3 of the steps in the job:
- name: Run integration tests (CTRF)
run: dotnet test tests/Shopphi.Order.IntegrationTests/Shopphi.Order.IntegrationTests.csproj --no-build --configuration ${{ env.BUILD_CONFIGURATION }} --verbosity normal -- --report-ctrf --report-ctrf-filename TestResults.ctrf.json
- name: Strip BOM from CTRF
if: always()
shell: bash
run: |
shopt -s globstar nullglob
for f in tests/**/TestResults/**/*.ctrf.json; do
sed -i '1s/^\xEF\xBB\xBF//' "$f" 2>/dev/null || true
done
- name: Publish CTRF report to GitHub
if: always()
uses: ctrf-io/github-test-reporter@024bc4b64d997ca9da86833c6b9548c55c620e40 # v1.0.26
with:
report-path: ${{ github.workspace }}/tests/**/TestResults/**/*.ctrf.json
summary-report: true
Metadata
Metadata
Assignees
Labels
No labels