tarpaulin panic fix

This commit is contained in:
realaravinth 2021-03-24 13:50:57 +05:30
parent 8e77345f15
commit 8d2d81ed76
No known key found for this signature in database
GPG key ID: AD9F0F08E855ED88

View file

@ -89,6 +89,10 @@ jobs:
args: '-t 1200'
env:
DATABASE_URL: postgres://postgres:password@localhost:5432/postgres
# GIT_HASH is dummy value. I guess build.rs is skipped in tarpaulin
# execution so this value is required for preventing meta tests from
# panicking
GIT_HASH: 8e77345f1597e40c2e266cb4e6dee74888918a61
- name: Upload to Codecov
@ -105,6 +109,7 @@ jobs:
args: --no-deps --workspace --all-features
env:
DATABASE_URL: postgres://postgres:password@localhost:5432/postgres
GIT_hash: 8e77345f1597e40c2e266cb4e6dee74888918a61 # dummy value
- name: Deploy to GitHub Pages
if: matrix.version == 'stable' && (github.repository == 'mCaptcha/guard')