supercov 4.4.0-x86_64-linux-gnu → 4.5.0-x86_64-linux-gnu
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +23 -0
- data/lib/supercov.rb +1 -1
- data/libexec/supercov +0 -0
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f43f8e68d6807f2fd5142d58ad4f7beecafc89c2234f4a0ee3207899b68f565a
|
|
4
|
+
data.tar.gz: 5a55a8ed1a0f4f64b2b84aede5d7b2f391ad25af598b10a3c0e29f6ccd23b7dd
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c47a1a485f3c723e983d68108f1fa23400649f5b3d216ac51ddcacda3eeb97950e9713b706f67335d8f7a82afa00019412c25d5e6b029f7377f5afb1ce602c96
|
|
7
|
+
data.tar.gz: '0609d6373220571a72a71fac28ace5f3199437c87c0a2a58bac460e27a6fa615168a718d620b56ccdde62bfaa0973dd7ff0c4493063cac9cc04fbe18d685ab11'
|
data/README.md
CHANGED
|
@@ -344,6 +344,29 @@ npx supercov report
|
|
|
344
344
|
|
|
345
345
|
Collections accept `--limit` and `--offset` and print a copyable next-page command. Machine-readable output is available with `--json` when an integration needs it.
|
|
346
346
|
|
|
347
|
+
## Comment on pull requests
|
|
348
|
+
|
|
349
|
+
In GitHub Actions, one step runs your tests and tells the pull request which
|
|
350
|
+
changed lines no test ran:
|
|
351
|
+
|
|
352
|
+
```yaml
|
|
353
|
+
permissions:
|
|
354
|
+
contents: read
|
|
355
|
+
pull-requests: write
|
|
356
|
+
|
|
357
|
+
steps:
|
|
358
|
+
- uses: actions/checkout@v6
|
|
359
|
+
- run: npm ci
|
|
360
|
+
- uses: supercorp-ai/supercov@v4
|
|
361
|
+
with:
|
|
362
|
+
command: npm test
|
|
363
|
+
```
|
|
364
|
+
|
|
365
|
+
It works with every supported language, keeps one comment up to date, marks the
|
|
366
|
+
lines in the diff, and can fail the job below a floor (`min-changed-lines: 90`).
|
|
367
|
+
No account, no upload token and no server: the report never leaves the runner.
|
|
368
|
+
See [Comment on a pull request](docs/cli.md#comment-on-a-pull-request).
|
|
369
|
+
|
|
347
370
|
## Local, private, and zero-edit
|
|
348
371
|
|
|
349
372
|
Everything Supercov writes lives under one hidden `.supercov/` directory: run evidence in `.supercov/runs/<run-id>/` and the isolated build cache in `.supercov/workspaces/`. It ignores itself in Git, so there is nothing to add to your `.gitignore`.
|
data/lib/supercov.rb
CHANGED
data/libexec/supercov
CHANGED
|
Binary file
|