Skip to content

Commit

Permalink
Add 'twine check' to automated tests
Browse files Browse the repository at this point in the history
  • Loading branch information
tlocke committed Jul 30, 2023
1 parent 057b12d commit 0ea8879
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install flake8 Flake8-pyproject flake8-alphabetize pytest black passlib .
pip install build flake8 Flake8-pyproject flake8-alphabetize pytest black \
passlib twine .
- name: Run checks
run: |
Expand Down
6 changes: 6 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -55,16 +55,22 @@ isolated_build = True
envlist = py
[testenv]
allowlist_externals=/usr/bin/rm
commands =
black --check .
flake8 .
pytest -v -x -W error test
rm -rf dist
python -m build
twine check dist/*
deps =
build
pytest
pytest-mock
black
flake8
Flake8-pyproject
flake8-alphabetize
passlib
twine
"""

0 comments on commit 0ea8879

Please sign in to comment.