From 94fa9dfe46d5214582430c5e26a8d5080e76cf7b Mon Sep 17 00:00:00 2001 From: jorgensd Date: Fri, 27 Jun 2025 19:20:48 +0200 Subject: [PATCH 1/2] Add pytest to moola optionals --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 60636da..760c9f6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -15,7 +15,7 @@ dependencies = ["numpy"] [project.optional-dependencies] - +test = ["pytest"] [tool.pytest.ini_options] addopts = ["--import-mode=importlib"] testpaths = ["tests"] From fe2d3cd899813765aae9e0e2b574d354da85a4c5 Mon Sep 17 00:00:00 2001 From: jorgensd Date: Fri, 27 Jun 2025 19:21:25 +0200 Subject: [PATCH 2/2] Run on master --- .github/workflows/unit-tests.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/unit-tests.yml b/.github/workflows/unit-tests.yml index 9d1f054..8bfc776 100644 --- a/.github/workflows/unit-tests.yml +++ b/.github/workflows/unit-tests.yml @@ -3,11 +3,11 @@ name: Test package on: push: branches: - - main + - master pull_request: branches: - - main + - master workflow_dispatch: workflow_call: