mirror of
https://github.com/RGBCube/alejandra
synced 2025-07-31 12:37:45 +00:00
feat: build then test
This commit is contained in:
parent
c3722704e6
commit
874c3e7e51
1 changed files with 14 additions and 13 deletions
27
.github/workflows/pr.yaml
vendored
27
.github/workflows/pr.yaml
vendored
|
@ -14,11 +14,23 @@ jobs:
|
|||
steps:
|
||||
- name: Clone
|
||||
uses: actions/checkout@v2
|
||||
- name: Coverage
|
||||
|
||||
- name: Build
|
||||
uses: docker://nixos/nix
|
||||
with:
|
||||
args: >
|
||||
bash -ex -c "
|
||||
nix
|
||||
--extra-experimental-features flakes
|
||||
--extra-experimental-features nix-command
|
||||
--extra-substituters http://172.17.0.1:5000?trusted=1
|
||||
build
|
||||
--print-build-logs
|
||||
|
||||
- name: Test
|
||||
uses: docker://nixos/nix
|
||||
with:
|
||||
args: >
|
||||
bash -ec "
|
||||
source <( \
|
||||
nix \
|
||||
--extra-experimental-features flakes \
|
||||
|
@ -31,14 +43,3 @@ jobs:
|
|||
|
||||
cargo tarpaulin
|
||||
"
|
||||
|
||||
- name: Build and Test
|
||||
uses: docker://nixos/nix
|
||||
with:
|
||||
args: >
|
||||
nix
|
||||
--extra-experimental-features flakes
|
||||
--extra-experimental-features nix-command
|
||||
--extra-substituters http://172.17.0.1:5000?trusted=1
|
||||
build
|
||||
--print-build-logs
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue