Skip to content

Commit

Permalink
experiment 13
Browse files Browse the repository at this point in the history
[run-slow-tests]
  • Loading branch information
ckunki committed May 22, 2024
1 parent e9d1e7d commit 68b4c98
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/ci-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,17 @@ jobs:

- name: Examine Commit Message in ci-pr
run: |
export A=5
echo 5 >> "$GITHUB_OUTPUT"
git status
git log -1 --pretty=format:"%b"
if ! (git log -1 --pretty=format:"%b" | grep "\[run-slow-tests\]"); then
export RUN_SLOW_TESTS='-m "not slow"'
export RUN_SLOW_TESTS='-m "not slow"' >> "$GITHUB_OUTPUT"
fi
- name: Verify setting of env var in ci-pr
run: |
echo "A = $A"
echo "RUN_SLOW_TESTS = $RUN_SLOW_TESTS"
echo "GITHUB_OUTPUT 1 = ${{ neegs.examine-commit-message-ci-pr.outputs.output1}}
echo "GITHUB_OUTPUT 2 = ${{ neegs.examine-commit-message-ci-pr.outputs.output2}}
CI:
uses: ./.github/workflows/ci.yml
Expand Down

0 comments on commit 68b4c98

Please sign in to comment.