From f4bca34487a948b78c0c2a3d59f09283a66f0e3b Mon Sep 17 00:00:00 2001 From: alexau Date: Sat, 2 Dec 2023 18:57:10 +0800 Subject: [PATCH] Solving the cache hit problem --- .github/workflows/test.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index eaced92..5281343 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -82,6 +82,7 @@ jobs: working-directory: ${{env.WORKDIR}} run: pip install -r requirements-dev.txt - name: Run tests + if: steps.cache.outputs.cache-hit != 'true' run: | coverage run -m pytest -v producer/tests env: @@ -158,6 +159,7 @@ jobs: working-directory: ${{env.WORKDIR}} run: pip install -r requirements-dev.txt - name: Run tests + if: steps.cache.outputs.cache-hit != 'true' run: | coverage run -m pytest -v consumer/tests env: