mirror of
https://github.com/n0remac/game-jam-2020.git
synced 2025-12-06 13:13:12 -06:00
use pipenv to run tests and linting
This commit is contained in:
8
.github/workflows/ci.yml
vendored
8
.github/workflows/ci.yml
vendored
@@ -22,11 +22,11 @@ jobs:
|
|||||||
pipenv sync
|
pipenv sync
|
||||||
- name: Linting
|
- name: Linting
|
||||||
run: |
|
run: |
|
||||||
pip install pycodestyle
|
pipenv run pip install pycodestyle
|
||||||
# PyCharm sets line length at 120 chars
|
# PyCharm sets line length at 120 chars
|
||||||
pycodestyle . --count --statistics --max-line-length=120
|
pipenv run pycodestyle . --count --statistics --max-line-length=120
|
||||||
- name: Test with pytest
|
- name: Test with pytest
|
||||||
run: |
|
run: |
|
||||||
pip install pytest
|
pipenv run pip install pytest
|
||||||
cd triple-dungeon
|
cd triple-dungeon
|
||||||
pytest tests.py
|
pipenv run pytest tests.py
|
||||||
Reference in New Issue
Block a user