delete old workflow, move new ci workflow into proper directory

This commit is contained in:
Xevion
2020-04-21 12:50:20 -05:00
parent 8eb8db7e84
commit 0a818742bd
2 changed files with 0 additions and 35 deletions

View File

@@ -1,4 +1,4 @@
name: PEP8 Linting
name: Continuous Integration (PEP8 Lint + pytest)
on: push
@@ -15,21 +15,17 @@ jobs:
python-version: 3.7
- name: Install pipenv & sync
run: |
cd triple-dungeon
# cd triple-dungeon
python -m pip install --upgrade pip
pip install pipenv
pipenv lock
pipenv sync
- name: Lint
- name: Linting
run: |
pip install pycodestyle
# PyCharm sets line length at 120 chars
pycodestyle . --count --statistics --max-line-length=120
# stop the build if there are Python syntax errors or undefined names
# flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
# flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
# - name: Test with pytest
# run: |
# pip install pytest
# pytest
- name: Test with pytest
run: |
pip install pytest
pytest tests.py