diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index dc67f16..cbcddeb 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -26,13 +26,12 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - pip install -r requirements.txt - python setup.py install + pip install -e . - name: Test with pytest run: | pip install pytest pytest-cov - pytest --cov-config=.coveragerc --cov=ruins --cov-report=xml + pytest --import-mode=append --cov-config=.coveragerc --cov=ruins --cov-report=xml - name: Upload coverage to codecov uses: codecov/codecov-action@v2