diff --git a/.github/workflows/coveralls.yml b/.github/workflows/coveralls.yml index b2b5bb66..5050dff3 100644 --- a/.github/workflows/coveralls.yml +++ b/.github/workflows/coveralls.yml @@ -28,8 +28,8 @@ jobs: python -m pip install --upgrade pip python -m pip install flake8 pytest if [ -f requirements.txt ]; then pip install -r requirements.txt; fi - python setup.py develop - python setup.py build_cannonsim + python -m pip install --editable . + cd tests/cannonsim/src; make; cd ../../.. pip install pytest-cov pip install coveralls - name: Create coverage report diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index 0dfdfcde..331adc67 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -28,8 +28,8 @@ jobs: python -m pip install --upgrade pip python -m pip install flake8 pytest if [ -f requirements.txt ]; then pip install -r requirements.txt; fi - python setup.py develop - python setup.py build_cannonsim + python -m pip install --editable . + cd tests/cannonsim/src; make; cd ../../.. pip install pytest-cov pip install coveralls - name: Lint with flake8