We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c8b4cc3 commit 5ab8fb6Copy full SHA for 5ab8fb6
1 file changed
.github/workflows/ci.yml
@@ -1,15 +1,18 @@
1
name: CI
2
3
on:
4
+ workflow_dispatch:
5
push:
6
branches: [main]
7
paths:
8
- "src/**"
9
+ - "scripts/**"
10
- "tests/**"
11
pull_request:
12
13
14
15
16
17
18
concurrency:
@@ -59,8 +62,13 @@ jobs:
59
62
env:
60
63
BUN_INSTALL_ALLOW_SCRIPTS: "@ast-grep/cli"
61
64
- - name: Run tests
- run: AGENT=1 bun test
65
+ - name: Run tests with coverage
66
+ run: AGENT=1 bun test --coverage --coverage-reporter=lcov
67
+
68
+ - name: Upload coverage reports to Codecov
69
+ uses: codecov/codecov-action@v5
70
+ with:
71
+ token: ${{ secrets.CODECOV_TOKEN }}
72
73
build:
74
runs-on: ubuntu-latest
0 commit comments