···2727 run: nix build
28282929 # This should really be a noop since the package is already built
3030- # This is run to get the coverage file in the right place
3030+ # This is run to get the coverage file linked
3131 - name: Build Coverage
3232 run: nix build -L .#checks.x86_64-linux.cmprss-tarpaulin
3333···3636 uses: codecov/codecov-action@v4
3737 with:
3838 token: ${{ secrets.CODECOV_TOKEN }}
3939- files: result/cobertura.xml
+3
.gitignore
···16161717# Local cache files for testing
1818/.cache
1919+2020+# Coverage files
2121+/coverage
+4
Taskfile.yml
···6666 test:full:
6767 desc: Run comparisons against official tools
6868 cmd: "{{.BIN}}/test.sh {{.CLI_ARGS}}"
6969+ coverage:
7070+ desc: Run coverage
7171+ aliases: [cov]
7272+ cmd: cargo tarpaulin --skip-clean --out-dir coverage --out lcov
+5-1
flake.nix
···9393 }
9494 // lib.optionalAttrs (system == "x86_64-linux") {
9595 # Check code coverage with tarpaulin runs
9696- cmprss-tarpaulin = craneLib.cargoTarpaulin commonArgs;
9696+ cmprss-tarpaulin = craneLib.cargoTarpaulin (commonArgs
9797+ // {
9898+ # Use lcov output as thats far more widely supported
9999+ cargoTarpaulinExtraArgs = "--skip-clean --output-dir $out --out lcov";
100100+ });
97101 }
98102 // {
99103 # Run formatting checks before commit