mirror of
https://github.com/RGBCube/alejandra
synced 2025-07-31 12:37:45 +00:00
feat: coverage job
This commit is contained in:
parent
43ca294239
commit
4c15fadfa2
1 changed files with 20 additions and 3 deletions
23
.github/workflows/pr.yaml
vendored
23
.github/workflows/pr.yaml
vendored
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue