Daily Flaky Tests (every 8 hours) #427
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Daily Flaky Tests (every 8 hours) | |
on: | |
workflow_dispatch: | |
schedule: | |
# 4 AM, 12 PM, 8 PM UTC | |
- cron: "0 4,12,20 * * *" | |
jobs: | |
cache: | |
uses: ./.github/workflows/cache-shared-deps.yml | |
test: | |
needs: | |
- cache | |
uses: ./.github/workflows/test-all.yml | |
with: | |
repo: core | |
# Options | |
standard: true | |
# Because -m starts with a dash, | |
# click (the library used to build the CLI) will | |
# interpret it as an option, not as an argument. | |
# To avoid this, using -- syntax, | |
# which tells the command that everything following it | |
# should be treated as positional arguments, not options | |
pytest-args: '-m flaky' | |
secrets: inherit | |
publish-test-results: | |
needs: | |
- test | |
if: success() || failure() | |
concurrency: | |
group: test-results | |
uses: ./.github/workflows/test-results-master.yml | |
secrets: inherit | |
submit-traces: | |
needs: | |
- test | |
if: success() || failure() | |
uses: ./.github/workflows/submit-traces.yml | |
secrets: inherit |