Add the ability to run continuous-only tests with a tag

#test-continuous

PiperOrigin-RevId: 676989476
pull/18431/head
Mike Kruskal 5 months ago committed by Copybara-Service
parent 83569cff3d
commit b022c5491e
  1. 2
      .github/workflows/test_runner.yml

@ -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

Loading…
Cancel
Save