this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

ci: improving code coverage infrastructure

+13 -3
+1 -2
.github/workflows/nix.yml
··· 27 27 run: nix build 28 28 29 29 # This should really be a noop since the package is already built 30 - # This is run to get the coverage file in the right place 30 + # This is run to get the coverage file linked 31 31 - name: Build Coverage 32 32 run: nix build -L .#checks.x86_64-linux.cmprss-tarpaulin 33 33 ··· 36 36 uses: codecov/codecov-action@v4 37 37 with: 38 38 token: ${{ secrets.CODECOV_TOKEN }} 39 - files: result/cobertura.xml
+3
.gitignore
··· 16 16 17 17 # Local cache files for testing 18 18 /.cache 19 + 20 + # Coverage files 21 + /coverage
+4
Taskfile.yml
··· 66 66 test:full: 67 67 desc: Run comparisons against official tools 68 68 cmd: "{{.BIN}}/test.sh {{.CLI_ARGS}}" 69 + coverage: 70 + desc: Run coverage 71 + aliases: [cov] 72 + cmd: cargo tarpaulin --skip-clean --out-dir coverage --out lcov
+5 -1
flake.nix
··· 93 93 } 94 94 // lib.optionalAttrs (system == "x86_64-linux") { 95 95 # Check code coverage with tarpaulin runs 96 - cmprss-tarpaulin = craneLib.cargoTarpaulin commonArgs; 96 + cmprss-tarpaulin = craneLib.cargoTarpaulin (commonArgs 97 + // { 98 + # Use lcov output as thats far more widely supported 99 + cargoTarpaulinExtraArgs = "--skip-clean --output-dir $out --out lcov"; 100 + }); 97 101 } 98 102 // { 99 103 # Run formatting checks before commit