Skip to content

Commit

Permalink
Add the ability to run continuous-only tests with a tag
Browse files Browse the repository at this point in the history
#test-continuous

PiperOrigin-RevId: 676544618
  • Loading branch information
mkruskal-google authored and copybara-github committed Sep 19, 2024
1 parent 7a7a087 commit 9569740
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/test_runner.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ jobs:
- name: Set Test Type Variables
id: set-test-type-vars
run: |
if [ "${{ github.event_name }}" == 'pull_request' ] || [ "${{ github.event_name }}" == 'pull_request_target' ]; then
if ([ "${{ github.event_name }}" == 'pull_request' ] || [ "${{ github.event_name }}" == 'pull_request_target' ]) && ${{ !contains(toJson(github.event.pull_request.body), '\r\n#test-continuous') }}; then
echo "continuous-run=" >> "$GITHUB_OUTPUT"
echo "continuous-prefix=[SKIPPED] (Continuous)" >> "$GITHUB_OUTPUT"
else
Expand Down

0 comments on commit 9569740

Please sign in to comment.