mirror of
https://github.com/dnaka91/obws
synced 2024-11-13 19:12:03 +00:00
Fix problems uploading codecov reports
This commit is contained in:
parent
cec40e013a
commit
e2d0d76469
1
.gitignore
vendored
1
.gitignore
vendored
@ -4,4 +4,5 @@
|
||||
*.profraw
|
||||
.env
|
||||
Cargo.lock
|
||||
codecov
|
||||
lcov.info
|
||||
|
3
Justfile
3
Justfile
@ -19,7 +19,7 @@ coverage:
|
||||
upload-coverage: get-codecov
|
||||
@# {{env_var("CODECOV_TOKEN")}}
|
||||
just coverage
|
||||
bash -c "./codecov -f lcov.info"
|
||||
bash -c "export CODECOV_TOKEN=$CODECOV_TOKEN && ./codecov -f lcov.info"
|
||||
|
||||
get-codecov:
|
||||
#!/usr/bin/env bash
|
||||
@ -31,3 +31,4 @@ get-codecov:
|
||||
shasum -a $i -c --ignore-missing <(curl -s "https://raw.githubusercontent.com/codecov/codecov-bash/${VERSION}/SHA${i}SUM") ||
|
||||
shasum -a $i -c <(curl -s "https://raw.githubusercontent.com/codecov/codecov-bash/${VERSION}/SHA${i}SUM")
|
||||
done
|
||||
chmod +x codecov
|
||||
|
Loading…
Reference in New Issue
Block a user