From 8d2d81ed767399445328f2e87b55a74710098294 Mon Sep 17 00:00:00 2001 From: realaravinth Date: Wed, 24 Mar 2021 13:50:57 +0530 Subject: [PATCH] tarpaulin panic fix --- .github/workflows/linux.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index 538f64f8..44b497d8 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -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')