1
Fork 0
mirror of https://github.com/RGBCube/alejandra synced 2025-07-31 12:37:45 +00:00

feat: coverage job

This commit is contained in:
Kevin Amado 2022-02-07 22:06:38 -05:00
parent 43ca294239
commit 4c15fadfa2
No known key found for this signature in database
GPG key ID: FFF341057F503148

View file

@ -8,16 +8,33 @@ concurrency:
cancel-in-progress: true
group: ${{ github.actor }}
jobs:
test:
pr:
name: PR
runs-on: self-hosted
steps:
- name: Clone
uses: actions/checkout@v2
- name: Build
- name: Coverage
uses: docker://nixos/nix
with:
args:
nix build
bash -c '
nix
--extra-experimental-features flakes
--extra-experimental-features nix-command
profile install direnv;
direnv allow;
cargo tarpaulin;
'
- name: Build and Test
uses: docker://nixos/nix
with:
args:
nix
--extra-experimental-features flakes
--extra-experimental-features nix-command
build
--print-build-logs