pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

URL: http://github.com/python-gitlab/python-gitlab/commit/f67514e5ffdbe0141b91c88366ff5233e0293ca2

link crossorigen="anonymous" media="all" rel="stylesheet" href="https://github.githubassets.com/assets/global-10539fe0effdbc74.css" /> chore(ci): make pytest annotations work · python-gitlab/python-gitlab@f67514e · GitHub
Skip to content

Commit f67514e

Browse files
nejchJohnVillalovos
authored andcommitted
chore(ci): make pytest annotations work
1 parent cdd6efe commit f67514e

3 files changed

Lines changed: 14 additions & 4 deletions

File tree

.github/workflows/test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ jobs:
5151
with:
5252
python-version: ${{ matrix.python.version }}
5353
- name: Install dependencies
54-
run: pip3 install tox pytest-github-actions-annotate-failures
54+
run: pip install tox
5555
- name: Run tests
5656
env:
5757
TOXENV: ${{ matrix.python.toxenv }}
@@ -69,7 +69,7 @@ jobs:
6969
with:
7070
python-version: "3.10"
7171
- name: Install dependencies
72-
run: pip install tox pytest-github-actions-annotate-failures
72+
run: pip install tox
7373
- name: Run tests
7474
env:
7575
TOXENV: ${{ matrix.toxenv }}
@@ -90,7 +90,7 @@ jobs:
9090
with:
9191
python-version: "3.10"
9292
- name: Install dependencies
93-
run: pip install tox pytest-github-actions-annotate-failures
93+
run: pip install tox
9494
- name: Run tests
9595
env:
9696
PY_COLORS: 1

requirements-test.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,6 @@ coverage
22
pytest==7.1.2
33
pytest-console-scripts==1.3.1
44
pytest-cov
5+
pytest-github-actions-annotate-failures==0.1.7
56
PyYaml>=5.2
67
responses

tox.ini

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,16 @@ skip_missing_interpreters = True
55
envlist = py310,py39,py38,py37,flake8,black,twine-check,mypy,isort,cz,pylint
66

77
[testenv]
8-
passenv = GITLAB_IMAGE GITLAB_TAG PY_COLORS NO_COLOR FORCE_COLOR DOCKER_HOST PWD
8+
passenv =
9+
DOCKER_HOST
10+
FORCE_COLOR
11+
GITHUB_ACTIONS
12+
GITHUB_WORKSPACE
13+
GITLAB_IMAGE
14+
GITLAB_TAG
15+
NO_COLOR
16+
PWD
17+
PY_COLORS
918
setenv = VIRTUAL_ENV={envdir}
1019
whitelist_externals = true
1120
usedevelop = True

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





Check this box to remove all script contents from the fetched content.



Check this box to remove all images from the fetched content.


Check this box to remove all CSS styles from the fetched content.


Check this box to keep images inefficiently compressed and original size.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy