Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-noland committed Oct 28, 2024
1 parent eaae506 commit c3f664d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/check-developer-experience.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,28 +83,28 @@ jobs:
continue-on-error: ${{ matrix.rust.optional }}
- run: |
export GITHUB_STEP_SUMMARY
just rust=${{matrix.cargo.toolchain}} profile=debug target=x86_64-unknown-linux-gnu test
just debug=true rust=${{matrix.cargo.toolchain}} profile=debug target=x86_64-unknown-linux-gnu test
continue-on-error: ${{ matrix.rust.optional }}
- run: just cargo +${{matrix.rust.toolchain}} build --locked --profile=debug --target=x86_64-unknown-linux-musl
continue-on-error: ${{ matrix.rust.optional }}
- run: |
export GITHUB_STEP_SUMMARY
just rust=${{matrix.cargo.toolchain}} profile=debug target=x86_64-unknown-linux-musl test
just debug=true rust=${{matrix.cargo.toolchain}} profile=debug target=x86_64-unknown-linux-musl test
continue-on-error: ${{ matrix.rust.optional }}
- run: just cargo +${{matrix.rust.toolchain}} build --locked --profile=release --target=x86_64-unknown-linux-gnu
continue-on-error: ${{ matrix.rust.optional }}
- run: |
export GITHUB_STEP_SUMMARY
just rust=${{matrix.cargo.toolchain}} profile=release target=x86_64-unknown-linux-gnu test
just debug=true rust=${{matrix.cargo.toolchain}} profile=release target=x86_64-unknown-linux-gnu test
continue-on-error: ${{ matrix.rust.optional }}
- run: just cargo +${{matrix.rust.toolchain}} build --locked --profile=release --target=x86_64-unknown-linux-musl
continue-on-error: ${{ matrix.rust.optional }}
- run: |
export GITHUB_STEP_SUMMARY
just rust=${{matrix.cargo.toolchain}} profile=release target=x86_64-unknown-linux-musl test
just debug=true rust=${{matrix.cargo.toolchain}} profile=release target=x86_64-unknown-linux-musl test
continue-on-error: ${{ matrix.rust.optional }}
- uses: actions/upload-artifact@v4
Expand Down
5 changes: 3 additions & 2 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -455,8 +455,8 @@ test:
--locked \
--cargo-profile={{ profile }} \
--target={{ target }} \
> "$report_dir/report.json" \
2> "$report_dir/report.log"
> >(tee "$report_dir/report.json") \
2> >(tee "$report_dir/report.log")
markdown-test-report "$report_dir/report.json" -o "$report_dir/report.md"
if [ -z "${GITHUB_STEP_SUMMARY:-}" ]; then
exit 0;
Expand All @@ -480,6 +480,7 @@ test:

\`\`\`log
$log
\`\`\`
</details>

EOF

0 comments on commit c3f664d

Please sign in to comment.