Skip to content

Commit 4b0575b

Browse files
committed
Add codecov to the workflow
1 parent ccbd059 commit 4b0575b

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

.github/workflows/test-and-lint.yml

+9-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: 🧪 Test and Lint
22
on:
33
push:
4-
branches-ignore: [wip/**]
4+
# branches-ignore: [wip/**]
55
jobs:
66
test:
77
strategy:
@@ -33,3 +33,11 @@ jobs:
3333
uses: dtolnay/rust-toolchain@stable
3434
- name: Run pre-commit
3535
uses: pre-commit/[email protected]
36+
- name: Generate Coverage
37+
run: make cover RUST_BACKTRACE=1
38+
- name: Publish Coverage
39+
uses: codecov/codecov-action@v4
40+
with:
41+
token: ${{ secrets.CODECOV_TOKEN }}
42+
slug: pgxn/meta
43+
files: target/cover/cobertura.xml

0 commit comments

Comments
 (0)