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

Merge pull request #44 from kamadorueda/test

feat: add pipeline tests
This commit is contained in:
Kevin Amado 2022-02-08 19:34:28 -05:00 committed by GitHub
commit c7bb492d1d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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