|
|
|
@ -3,7 +3,7 @@
|
|
|
|
|
|
|
|
|
|
name: Python Package
|
|
|
|
|
|
|
|
|
|
on: [push, pull_request]
|
|
|
|
|
on: [ push, pull_request ]
|
|
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
|
test:
|
|
|
|
@ -39,7 +39,7 @@ jobs:
|
|
|
|
|
- name: Install dependencies
|
|
|
|
|
run: |
|
|
|
|
|
python -m pip install --upgrade pip
|
|
|
|
|
python -m pip install flake8 nose parameterized
|
|
|
|
|
python -m pip install flake8
|
|
|
|
|
|
|
|
|
|
- name: Install test images
|
|
|
|
|
run: git clone https://git.pileof.rocks/drewcassidy/quicktex-test-images.git tests/images
|
|
|
|
@ -52,7 +52,7 @@ jobs:
|
|
|
|
|
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
|
|
|
|
|
|
|
|
|
|
- name: Compile and install
|
|
|
|
|
run: python setup.py build --debug install
|
|
|
|
|
run: python -m pip install -e .[tests]
|
|
|
|
|
|
|
|
|
|
- name: Test with nose
|
|
|
|
|
run: nosetests tests -d
|
|
|
|
|