install for tests using pip

hotfix/mipmap-alpha-fix
Andrew Cassidy 3 years ago
parent cde6ae006e
commit b3d6585799

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

Loading…
Cancel
Save