Skip to content

Commit f4d0840

Browse files
committed
Try to fix coverage workflow to run
1 parent b24da0f commit f4d0840

File tree

1 file changed

+22
-4
lines changed

1 file changed

+22
-4
lines changed

.github/workflows/coverage.yml

Lines changed: 22 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,36 @@
22
name: Coverage
33

44
on:
5-
workflow_run:
6-
workflows: [CI, Skip tests, Windows CI]
7-
types: [completed]
5+
push:
6+
branches: [main]
7+
pull_request:
8+
branches: [main]
9+
schedule:
10+
# * is a special character in YAML so you have to quote this string
11+
# Run at 1:00 every day
12+
- cron: 0 1 * * *
13+
workflow_dispatch: {}
814

915
jobs:
1016
coverage:
1117
name: Combine & check coverage
12-
if: ${{ github.event.workflow_run.conclusion == 'success' }}
1318
runs-on: ubuntu-latest
1419

1520
steps:
1621
- uses: actions/checkout@v5
22+
23+
- name: Wait for other workflows
24+
uses: lewagon/[email protected]
25+
with:
26+
ref: ${{ github.ref }}
27+
check-name: |
28+
CI
29+
Skip tests
30+
Windows CI
31+
repo-token: ${{ secrets.GITHUB_TOKEN }}
32+
wait-interval: 10
33+
allowed-conclusions: success
34+
1735
- name: Install uv
1836
uses: astral-sh/setup-uv@v6
1937
with:

0 commit comments

Comments
 (0)