Skip to content

Commit

Permalink
Debug
Browse files Browse the repository at this point in the history
  • Loading branch information
eps1lon committed Feb 18, 2025
1 parent 3ffe5eb commit ddcaccb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/build_reusable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -248,17 +248,20 @@ jobs:
# Only available information in test execution that helps identify the job this was ran in.
DD_TEST_SESSION_NAME: ${{ inputs.stepName }}
run: |
echo "DD_TEST_SESSION_NAME= '$DD_TEST_SESSION_NAME'"
# Add a `test.type` tag to distinguish between turbopack and next.js runs
if [ -d ./test/test-junit-report ]; then
npx @datadog/datadog-ci@2.45.1 junit upload \
--service nextjs \
--tags test.type:nextjs \
--tags nexts.test_session_name:"$DD_TEST_SESSION_NAME" \
./test/test-junit-report
fi
if [ -d ./test/turbopack-test-junit-report ]; then
npx @datadog/datadog-ci@2.45.1 junit upload \
--service nextjs \
--tags test.type:turbopack \
--tags nexts.test_session_name:"$DD_TEST_SESSION_NAME" \
./test/turbopack-test-junit-report
fi
Expand Down

0 comments on commit ddcaccb

Please sign in to comment.