ci: compute coverage

This commit is contained in:
🪞👃🪞 2025-01-27 20:03:12 +01:00
parent e8e0f5646d
commit bd680db230

View file

@ -7,5 +7,5 @@ jobs:
- run: nix-channel --list && nix-channel --update - run: nix-channel --list && nix-channel --update
- run: nix-shell -p git --command 'git clone --recursive $GITHUB_SERVER_URL/$GITHUB_REPOSITORY .' - run: nix-shell -p git --command 'git clone --recursive $GITHUB_SERVER_URL/$GITHUB_REPOSITORY .'
- run: whoami && pwd && ls -al - run: whoami && pwd && ls -al
- run: nix-shell --command 'cloc src/ && cloc . && rustup install nightly && cargo version -vv && just test && cargo doc && cargo build --release' .forgejo/workflows/build.nix - run: nix-shell --command 'cloc src/ && cloc . && rustup install nightly && cargo version -vv && just cov && cargo doc && cargo build --release' .forgejo/workflows/build.nix
#- run: nix-shell -p docker --command "docker run --security-opt seccomp=unconfined -v $PWD:/volume xd009642/tarpaulin cargo tarpaulin --out Html --all-features" #- run: nix-shell -p docker --command "docker run --security-opt seccomp=unconfined -v $PWD:/volume xd009642/tarpaulin cargo tarpaulin --out Html --all-features"