From 70fb360bae1d63c5df42b6fcb9aac14547b5e47f Mon Sep 17 00:00:00 2001 From: Nick Sweeting Date: Mon, 20 Jul 2026 15:21:19 -0700 Subject: [PATCH] Preserve feature branch test coverage --- .github/workflows/test.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index f4b58b83..3de484de 100755 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -94,9 +94,24 @@ jobs: uv run --directory "$DATA_DIR" --no-sync --no-sources archivebox version uv run --directory "$DATA_DIR" --no-sync --no-sources archivebox status + - name: Test built package with pytest + if: github.ref != 'refs/heads/dev' + run: | + mkdir -p tests/out + uv run --no-sync --no-sources pytest -s archivebox/tests --basetemp=tests/out + - name: Run documentation code blocks run: uv run --no-sync --no-sources pytest -vv --tb=long README.md AGENTS.md skills docs + - name: Run plugin tests + if: github.ref != 'refs/heads/dev' + env: + ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }} + TWOCAPTCHA_API_KEY: ${{ secrets.TWOCAPTCHA_API_KEY }} + API_KEY_2CAPTCHA: ${{ secrets.TWOCAPTCHA_API_KEY }} + run: | + uv run --no-sync --no-sources bash ./bin/test_plugins.sh --no-coverage + docker_tests: runs-on: ubuntu-latest