From f3d6e0907c0820775fe36b55e2f54d935fa618c5 Mon Sep 17 00:00:00 2001 From: benoit74 Date: Thu, 8 Feb 2024 10:04:21 +0100 Subject: [PATCH] Run all tests and install fix_ogvjs_dist script --- .github/workflows/Tests.yaml | 2 +- pyproject.toml | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/Tests.yaml b/.github/workflows/Tests.yaml index 1d437788..7db6f910 100644 --- a/.github/workflows/Tests.yaml +++ b/.github/workflows/Tests.yaml @@ -35,7 +35,7 @@ jobs: pip install -e .[test,scripts] - name: Run the tests - run: inv coverage --args "-vvv" + run: inv coverage --args "--runslow --runinstalled -vvv" - name: Upload coverage report to codecov if: matrix.python == '3.12' diff --git a/pyproject.toml b/pyproject.toml index b304a71f..ee641539 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -55,6 +55,9 @@ dev = [ "zimscraperlib[check]", ] +[project.scripts] +fix_ogvjs_dist = "zimscraperlib.fix_ogvjs_dist:run" + [tool.hatch.version] path = "src/zimscraperlib/__about__.py"