1
Fork 0
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:
Kevin Amado 2022-02-08 17:25:33 -05:00
parent 713c19c006
commit 1fc91a8b90
No known key found for this signature in database
GPG key ID: FFF341057F503148

View file

@ -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