Fix flaky test that tests lots of threads calling emit. Make sure tes… #9
This file contains hidden or 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: Core Contrib Test | |
| on: | |
| push: | |
| branches-ignore: | |
| - 'release/*' | |
| pull_request: | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} | |
| cancel-in-progress: true | |
| jobs: | |
| contrib_0: | |
| uses: open-telemetry/opentelemetry-python-contrib/.github/workflows/core_contrib_test_0.yml@main | |
| with: | |
| CORE_REPO_SHA: ${{ github.sha }} | |
| CONTRIB_REPO_SHA: ${{ github.event_name == 'pull_request' && ( | |
| contains(github.event.pull_request.labels.*.name, 'prepare-release') && github.event.pull_request.head.ref || | |
| contains(github.event.pull_request.labels.*.name, 'backport') && github.event.pull_request.base.ref || | |
| 'main' | |
| ) || 'main' }} |