Skip to content
This repository has been archived by the owner on Mar 22, 2024. It is now read-only.

Commit

Permalink
Replaces pytest-sugar with pytest-rich
Browse files Browse the repository at this point in the history
  • Loading branch information
AngellusMortis committed Sep 15, 2022
1 parent 85b1b1a commit 811ac32
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 18 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,11 @@ jobs:
- name: Test with pytest
run: |
export PYTHONPATH=$GITHUB_WORKSPACE
pytest --force-sugar --ignore=tests/test_zconstance.py
pytest --rich --ignore=tests/test_zconstance.py
if [[ "${{ matrix.django }}" == "${{ env.DEFAULT_DJANGO }}" ]]; then
pytest --force-sugar tests/test_zconstance.py
pytest --rich tests/test_zconstance.py
fi
coverage report -m
- name: Publish Code Coverage
uses: paambaati/[email protected]
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ dev = [
"pyproject-flake8",
"pytest-cov",
"pytest-django",
"pytest-sugar",
"pytest-rich",
"pytest",
"sphinx",
]
Expand Down
12 changes: 7 additions & 5 deletions reqs/dj3.2-requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ click==8.1.3
# via
# black
# pip-tools
commonmark==0.9.1
# via rich
coverage[toml]==6.4.4
# via
# django-microsoft-auth (pyproject.toml)
Expand Down Expand Up @@ -114,7 +116,6 @@ packaging==21.3
# via
# build
# pytest
# pytest-sugar
# sphinx
parso==0.8.3
# via jedi
Expand Down Expand Up @@ -155,6 +156,7 @@ pygments==2.13.0
# doc8
# furo
# ipython
# rich
# sphinx
pyjwt[crypto]==2.4.0
# via django-microsoft-auth (pyproject.toml)
Expand All @@ -167,12 +169,12 @@ pytest==7.1.3
# django-microsoft-auth (pyproject.toml)
# pytest-cov
# pytest-django
# pytest-sugar
# pytest-rich
pytest-cov==3.0.0
# via django-microsoft-auth (pyproject.toml)
pytest-django==4.5.2
# via django-microsoft-auth (pyproject.toml)
pytest-sugar==0.9.5
pytest-rich==0.1.1
# via django-microsoft-auth (pyproject.toml)
pytz==2022.2.1
# via
Expand All @@ -190,6 +192,8 @@ requests-oauthlib==1.3.1
# via django-microsoft-auth (pyproject.toml)
restructuredtext-lint==1.4.0
# via doc8
rich==12.5.1
# via pytest-rich
six==1.16.0
# via asttokens
smmap==5.0.0
Expand Down Expand Up @@ -225,8 +229,6 @@ stevedore==4.0.0
# via
# bandit
# doc8
termcolor==2.0.1
# via pytest-sugar
tomli==2.0.1
# via
# black
Expand Down
12 changes: 7 additions & 5 deletions reqs/dj4.0-requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ click==8.1.3
# via
# black
# pip-tools
commonmark==0.9.1
# via rich
coverage[toml]==6.4.4
# via
# django-microsoft-auth (pyproject.toml)
Expand Down Expand Up @@ -114,7 +116,6 @@ packaging==21.3
# via
# build
# pytest
# pytest-sugar
# sphinx
parso==0.8.3
# via jedi
Expand Down Expand Up @@ -155,6 +156,7 @@ pygments==2.13.0
# doc8
# furo
# ipython
# rich
# sphinx
pyjwt[crypto]==2.4.0
# via django-microsoft-auth (pyproject.toml)
Expand All @@ -167,12 +169,12 @@ pytest==7.1.3
# django-microsoft-auth (pyproject.toml)
# pytest-cov
# pytest-django
# pytest-sugar
# pytest-rich
pytest-cov==3.0.0
# via django-microsoft-auth (pyproject.toml)
pytest-django==4.5.2
# via django-microsoft-auth (pyproject.toml)
pytest-sugar==0.9.5
pytest-rich==0.1.1
# via django-microsoft-auth (pyproject.toml)
pytz==2022.2.1
# via babel
Expand All @@ -188,6 +190,8 @@ requests-oauthlib==1.3.1
# via django-microsoft-auth (pyproject.toml)
restructuredtext-lint==1.4.0
# via doc8
rich==12.5.1
# via pytest-rich
six==1.16.0
# via asttokens
smmap==5.0.0
Expand Down Expand Up @@ -223,8 +227,6 @@ stevedore==4.0.0
# via
# bandit
# doc8
termcolor==2.0.1
# via pytest-sugar
tomli==2.0.1
# via
# black
Expand Down
12 changes: 7 additions & 5 deletions reqs/dj4.1-requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ click==8.1.3
# via
# black
# pip-tools
commonmark==0.9.1
# via rich
coverage[toml]==6.4.4
# via
# django-microsoft-auth (pyproject.toml)
Expand Down Expand Up @@ -114,7 +116,6 @@ packaging==21.3
# via
# build
# pytest
# pytest-sugar
# sphinx
parso==0.8.3
# via jedi
Expand Down Expand Up @@ -155,6 +156,7 @@ pygments==2.13.0
# doc8
# furo
# ipython
# rich
# sphinx
pyjwt[crypto]==2.4.0
# via django-microsoft-auth (pyproject.toml)
Expand All @@ -167,12 +169,12 @@ pytest==7.1.3
# django-microsoft-auth (pyproject.toml)
# pytest-cov
# pytest-django
# pytest-sugar
# pytest-rich
pytest-cov==3.0.0
# via django-microsoft-auth (pyproject.toml)
pytest-django==4.5.2
# via django-microsoft-auth (pyproject.toml)
pytest-sugar==0.9.5
pytest-rich==0.1.1
# via django-microsoft-auth (pyproject.toml)
pytz==2022.2.1
# via babel
Expand All @@ -188,6 +190,8 @@ requests-oauthlib==1.3.1
# via django-microsoft-auth (pyproject.toml)
restructuredtext-lint==1.4.0
# via doc8
rich==12.5.1
# via pytest-rich
six==1.16.0
# via asttokens
smmap==5.0.0
Expand Down Expand Up @@ -223,8 +227,6 @@ stevedore==4.0.0
# via
# bandit
# doc8
termcolor==2.0.1
# via pytest-sugar
tomli==2.0.1
# via
# black
Expand Down

0 comments on commit 811ac32

Please sign in to comment.