Skip to content

Commit

Permalink
(TEST) Add the ability to run continuous-only tests with a tag
Browse files Browse the repository at this point in the history
This will be controlled by the tag #test-continuous, on it's own line

PiperOrigin-RevId: 676568065
  • Loading branch information
mkruskal-google authored and copybara-github committed Sep 19, 2024
1 parent 7a7a087 commit 0454ff1
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), '\n#test-continuous') }}; then
echo "continuous-run=" >> "$GITHUB_OUTPUT"
echo "continuous-prefix=[SKIPPED] (Continuous)" >> "$GITHUB_OUTPUT"
else
Expand Down

0 comments on commit 0454ff1

Please sign in to comment.