diff --git a/.github/workflows/reusable-tests.yml b/.github/workflows/reusable-tests.yml index 18727791..1a646af3 100644 --- a/.github/workflows/reusable-tests.yml +++ b/.github/workflows/reusable-tests.yml @@ -104,7 +104,7 @@ jobs: - name: Run unit tests with coverage id: fast-tests - run: TESTING=True poetry run pytest --cov -m 'not slow and not datahub' --doctest-modules + run: TESTING=True make gha_fast_tests - name: Set up chromedriver # https://github.com/marketplace/actions/setup-chromedriver diff --git a/Makefile b/Makefile index f87ee910..13ec122e 100644 --- a/Makefile +++ b/Makefile @@ -89,6 +89,10 @@ export_npm_cache_dir: @npm config get cache > .npm_cache_dir @echo "NPM cache directory stored in .npm_cache_dir" +gha_fast_tests: + poetry run pytest --cov -m 'not slow and not datahub' --doctest-modules + + # Clean up (optional) clean: rm -rf staticfiles