CI: Move pytest-github-actions-annotate-failures to test deps, upgrade (#104604)

Move pytest-github-actions-annotate-failures to test deps, upgrade

Co-authored-by: Erik Montnemery <erik@montnemery.com>
This commit is contained in:
Aarni Koskela 2024-03-13 18:26:19 +02:00 committed by GitHub
parent 761933acfe
commit dc7eaee917
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 1 additions and 24 deletions

View File

@ -719,14 +719,6 @@ jobs:
- name: Register Python problem matcher - name: Register Python problem matcher
run: | run: |
echo "::add-matcher::.github/workflows/matchers/python.json" 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 - name: Register pytest slow test problem matcher
run: | run: |
echo "::add-matcher::.github/workflows/matchers/pytest-slow.json" echo "::add-matcher::.github/workflows/matchers/pytest-slow.json"
@ -874,14 +866,6 @@ jobs:
- name: Register Python problem matcher - name: Register Python problem matcher
run: | run: |
echo "::add-matcher::.github/workflows/matchers/python.json" 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 - name: Register pytest slow test problem matcher
run: | run: |
echo "::add-matcher::.github/workflows/matchers/pytest-slow.json" echo "::add-matcher::.github/workflows/matchers/pytest-slow.json"
@ -1004,14 +988,6 @@ jobs:
- name: Register Python problem matcher - name: Register Python problem matcher
run: | run: |
echo "::add-matcher::.github/workflows/matchers/python.json" 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 - name: Register pytest slow test problem matcher
run: | run: |
echo "::add-matcher::.github/workflows/matchers/pytest-slow.json" echo "::add-matcher::.github/workflows/matchers/pytest-slow.json"

View File

@ -21,6 +21,7 @@ pytest-asyncio==0.23.5
pytest-aiohttp==1.0.5 pytest-aiohttp==1.0.5
pytest-cov==4.1.0 pytest-cov==4.1.0
pytest-freezer==0.4.8 pytest-freezer==0.4.8
pytest-github-actions-annotate-failures==0.2.0
pytest-socket==0.7.0 pytest-socket==0.7.0
pytest-test-groups==1.0.3 pytest-test-groups==1.0.3
pytest-sugar==1.0.0 pytest-sugar==1.0.0