mirror of
https://github.com/drewcassidy/quicktex.git
synced 2024-09-13 06:37:34 +00:00
install for tests using pip
This commit is contained in:
parent
cde6ae006e
commit
b3d6585799
6
.github/workflows/python-package.yml
vendored
6
.github/workflows/python-package.yml
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user