Fix problems uploading codecov reports

pull/14/head
Dominik Nakamura 3 years ago
parent cec40e013a
commit e2d0d76469
No known key found for this signature in database
GPG Key ID: E4C6A749B2491910

1
.gitignore vendored

@ -4,4 +4,5 @@
*.profraw
.env
Cargo.lock
codecov
lcov.info

@ -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…
Cancel
Save