fix(scheduler): honor per-backfill overlap policy in workflow fires (… #1378
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: Workflow for Codecov integration | |
| on: | |
| push: | |
| branches: | |
| - master | |
| permissions: | |
| issues: write | |
| contents: read | |
| jobs: | |
| codecov: | |
| if: github.repository == 'cadence-workflow/cadence' | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - name: Set up Go | |
| uses: actions/setup-go@v4 | |
| with: | |
| go-version: 1.24.5 | |
| cache: false | |
| - name: Download dependencies | |
| run: go mod download | |
| - name: Test and generate coverage report | |
| run: make cover_profile 2>&1 | tee test.log | |
| - name: Collect failing test names | |
| shell: bash | |
| run: | | |
| ./scripts/extract_failed_tests.sh test.log | tee failed-tests.txt | |
| - name: Create or update issues for failed tests | |
| env: | |
| GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| run: ./scripts/create_failed_test_issues.sh failed-tests.txt | |
| - name: Upload coverage reports to Codecov | |
| uses: codecov/codecov-action@v4.5.0 # https://github.com/codecov/codecov-action | |
| with: | |
| file: .build/coverage/unit_cover.out | |
| exclude: ./ | |
| token: ${{ secrets.CODECOV_TOKEN }} | |
| slug: cadence-workflow/cadence |