mirror of
https://github.com/sprockets/sprockets-statsd.git
synced 2024-11-21 19:28:35 +00:00
Improve the GitHub test phase.
I incorporated the changes in tox.ini into the automated test workflow so that we do not end up tagging a broken build :/
This commit is contained in:
parent
589412693e
commit
d0b860edc0
1 changed files with 9 additions and 3 deletions
12
.github/workflows/run-tests.yml
vendored
12
.github/workflows/run-tests.yml
vendored
|
@ -21,15 +21,21 @@ jobs:
|
|||
python-version: ${{ matrix.python-version }}
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
python -m pip install --upgrade pip setuptools
|
||||
python -m pip install --upgrade pip setuptools twine wheel
|
||||
python -m pip install '.[dev]'
|
||||
python -m pip install -e .
|
||||
- name: Lint
|
||||
run: |
|
||||
flake8 sprockets_statsd tests
|
||||
flake8 sprockets_statsd tests setup.py docs/conf.py
|
||||
- name: Check format
|
||||
run: |
|
||||
yapf -dr sprockets_statsd tests
|
||||
yapf -dr sprockets_statsd tests setup.py docs/conf.py
|
||||
- name: Verify distribution build
|
||||
run: |
|
||||
rm -fr dist
|
||||
python setup.py bdist_wheel
|
||||
python setup.py sdist
|
||||
twine check dist/*
|
||||
- name: Run tests
|
||||
run: |
|
||||
coverage run -m unittest
|
||||
|
|
Loading…
Reference in a new issue