diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 2a5d4927efa..b012ecb6fd8 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -719,14 +719,6 @@ jobs: - name: Register Python problem matcher run: | echo "::add-matcher::.github/workflows/matchers/python.json" - - name: Install Pytest Annotation plugin - run: | - . venv/bin/activate - # Ideally this should be part of our dependencies - # However this plugin is fairly new and doesn't run correctly - # on a non-GitHub environment. - pip install "$(cat requirements_test.txt | grep uv)" - uv pip install pytest-github-actions-annotate-failures==0.1.3 - name: Register pytest slow test problem matcher run: | echo "::add-matcher::.github/workflows/matchers/pytest-slow.json" @@ -874,14 +866,6 @@ jobs: - name: Register Python problem matcher run: | echo "::add-matcher::.github/workflows/matchers/python.json" - - name: Install Pytest Annotation plugin - run: | - . venv/bin/activate - # Ideally this should be part of our dependencies - # However this plugin is fairly new and doesn't run correctly - # on a non-GitHub environment. - pip install "$(cat requirements_test.txt | grep uv)" - uv pip install pytest-github-actions-annotate-failures==0.1.3 - name: Register pytest slow test problem matcher run: | echo "::add-matcher::.github/workflows/matchers/pytest-slow.json" @@ -1004,14 +988,6 @@ jobs: - name: Register Python problem matcher run: | echo "::add-matcher::.github/workflows/matchers/python.json" - - name: Install Pytest Annotation plugin - run: | - . venv/bin/activate - # Ideally this should be part of our dependencies - # However this plugin is fairly new and doesn't run correctly - # on a non-GitHub environment. - pip install "$(cat requirements_test.txt | grep uv)" - uv pip install pytest-github-actions-annotate-failures==0.1.3 - name: Register pytest slow test problem matcher run: | echo "::add-matcher::.github/workflows/matchers/pytest-slow.json" diff --git a/requirements_test.txt b/requirements_test.txt index 03a61613600..e189526adaf 100644 --- a/requirements_test.txt +++ b/requirements_test.txt @@ -21,6 +21,7 @@ pytest-asyncio==0.23.5 pytest-aiohttp==1.0.5 pytest-cov==4.1.0 pytest-freezer==0.4.8 +pytest-github-actions-annotate-failures==0.2.0 pytest-socket==0.7.0 pytest-test-groups==1.0.3 pytest-sugar==1.0.0