mirror of
https://github.com/RGBCube/alejandra
synced 2025-08-01 13:07:47 +00:00
fix: coverage build
This commit is contained in:
parent
a220eb56f7
commit
17feb322f0
1 changed files with 6 additions and 1 deletions
|
@ -16,9 +16,14 @@ steps:
|
||||||
- label: coverage
|
- label: coverage
|
||||||
if: build.branch == "main"
|
if: build.branch == "main"
|
||||||
command:
|
command:
|
||||||
- echo +++
|
- echo +++ Fetch
|
||||||
|
- git fetch https://github.com/kamadorueda/alejandra "${BUILDKITE_COMMIT}:main"
|
||||||
|
- git checkout main
|
||||||
|
- git branch
|
||||||
|
- echo --- Load environment
|
||||||
- direnv allow
|
- direnv allow
|
||||||
- eval "$(direnv export bash)"
|
- eval "$(direnv export bash)"
|
||||||
|
- echo +++ Run tests
|
||||||
- cargo tarpaulin --coveralls "${COVERALLS_REPO_TOKEN}"
|
- cargo tarpaulin --coveralls "${COVERALLS_REPO_TOKEN}"
|
||||||
|
|
||||||
- label: diff
|
- label: diff
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue