Do lint in another job than the build
This commit is contained in:
1 parent
321b41ddd0
commit
06c197f546
2 files changed
+18
-1
No files matched your search
@@ -45,3 +45,20 @@ jobs:
|
||||
run: python -m pip install tox tox-gh-actions
|
||||
- name: Test with tox ${{ matrix.python-version }}
|
||||
run: tox
|
||||
|
||||
lint:
|
||||
name: Linting
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v2
|
||||
- name: Set up Python 3.6
|
||||
uses: actions/setup-python@v2
|
||||
with:
|
||||
python-version: 3.6
|
||||
- name: Install dependencies
|
||||
run: python -m pip install tox
|
||||
- name: Lint with tox
|
||||
run: tox
|
||||
env:
|
||||
TOXENV: lint
|
||||
Reference in new issue
Block a user