mirror of
https://github.com/RGBCube/alejandra
synced 2025-07-30 12:07:46 +00:00
feat: add pipeline tests
This commit is contained in:
parent
713c19c006
commit
1fc91a8b90
1 changed files with 22 additions and 1 deletions
|
@ -1,4 +1,25 @@
|
|||
steps:
|
||||
- label: test
|
||||
- label: build
|
||||
command:
|
||||
- nix3 build
|
||||
|
||||
- label: cache
|
||||
if: build.branch == "main"
|
||||
command:
|
||||
- nix3 build
|
||||
- cachix push alejandra result
|
||||
|
||||
- nix3 develop --profile develop --command true
|
||||
- cachix push alejandra develop
|
||||
|
||||
- label: coverage
|
||||
artifact_paths:
|
||||
- tarpaulin-report.html
|
||||
command:
|
||||
- direnv allow
|
||||
- eval "$(direnv export bash)"
|
||||
- cargo tarpaulin -o html
|
||||
|
||||
- label: flake check
|
||||
command:
|
||||
- nix3 flake check
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue