From 19b6bbffd1e1ef41d489577384297c704ce16e50 Mon Sep 17 00:00:00 2001 From: Lendemor Date: Wed, 9 Oct 2024 14:51:02 +0200 Subject: [PATCH] skip more in unit tests --- .github/workflows/unit_tests.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/unit_tests.yml b/.github/workflows/unit_tests.yml index fc65402e0..3c026982f 100644 --- a/.github/workflows/unit_tests.yml +++ b/.github/workflows/unit_tests.yml @@ -59,6 +59,7 @@ jobs: steps: - uses: actions/checkout@v4 - uses: ./.github/actions/setup_build_env + if: matrix.os != 'macos-12' || (github.event_name == 'push' && github.ref == 'refs/heads/main') with: python-version: ${{ matrix.python-version }} run-poetry-install: true @@ -82,4 +83,7 @@ jobs: export PYTHONUNBUFFERED=1 poetry run uv pip install "pydantic~=1.10" poetry run pytest tests/units --cov --no-cov-on-fail --cov-report= - - run: poetry run coverage html + - name: Generate coverage report + if: matrix.os != 'macos-12' || (github.event_name == 'push' && github.ref == 'refs/heads/main') + run: poetry run coverage html +