From b3d658579907aa39169c40b73df273b8a6dbecc3 Mon Sep 17 00:00:00 2001 From: drewcassidy Date: Tue, 13 Apr 2021 20:48:19 -0700 Subject: [PATCH] install for tests using pip --- .github/workflows/python-package.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index f535e2d..fe3937a 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -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