We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c14de62 commit 2ea917eCopy full SHA for 2ea917e
.github/workflows/pr-test.yml
@@ -58,15 +58,13 @@ jobs:
58
continue-on-error: true
59
run: |
60
set +e # Don't exit on error
61
- pnpm test ${{ steps.get-target-branch.outputs.target_branch }} ${{ github.event.pull_request.head.ref }} 2>&1 | tee test_output.txt
+ pnpm test --passWithNoTests ${{ steps.get-target-branch.outputs.target_branch }} ${{ github.event.pull_request.head.ref }} 2>&1 | tee test_output.txt
62
TEST_EXIT_CODE=${PIPESTATUS[0]}
63
64
- # Prepare the output
65
echo "output<<EOF" >> $GITHUB_OUTPUT
66
cat test_output.txt >> $GITHUB_OUTPUT
67
echo "EOF" >> $GITHUB_OUTPUT
68
69
- # Set the status based on exit code
70
if [ $TEST_EXIT_CODE -eq 0 ]; then
71
echo "status=success" >> $GITHUB_OUTPUT
72
else
0 commit comments