Skip to content

Commit

Permalink
CI: add missing "-e" args to pip install when installing multiple pkgs (
Browse files Browse the repository at this point in the history
  • Loading branch information
slayoo authored May 12, 2024
1 parent 3c09034 commit a9bed1e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/tests+pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
python-version: 3.9
- name: Generate coverage report
run: |
pip install -e .[tests] ./examples
pip install -e .[tests] -e ./examples
pip install pytest-cov
pytest --durations=10 -We tests/unit_tests --cov-report=xml --cov=PyMPDATA
- name: Upload coverage to Codecov
Expand All @@ -68,7 +68,7 @@ jobs:
python -m pip install --upgrade pip
# TODO #411 https://github.com/pylint-dev/pylint/issues/9099
pip install "pylint<3.0.0" nbqa pdoc3 # (pdoc3 for checking the .github/workflows/pdoc_index_workaround.py)
pip install -e .[tests] ./examples[tests]
pip install -e .[tests] -e ./examples[tests]
- run: |
pylint --max-module-lines=500 --disable=fixme $(git ls-files '*.py' | grep -v ^examples)
- run: |
Expand Down Expand Up @@ -96,7 +96,7 @@ jobs:
JUPYTER_PLATFORM_DIRS: 1
run: |
pip3 install pdoc3
pip install -e . ./examples
pip install -e . -e ./examples
python -We -m pdoc --html PyMPDATA examples/PyMPDATA_examples
python -We .github/workflows/pdoc_index_workaround.py
- if: ${{ github.ref == 'refs/heads/main' && matrix.platform == 'ubuntu-latest' }}
Expand Down Expand Up @@ -240,7 +240,7 @@ jobs:
submodules: recursive
fetch-depth: 0 # https://github.com/pypa/setuptools_scm/issues/480
- run: pip install -r tests/devops_tests/requirements.txt
- run: pip install -e . ./examples
- run: pip install -e . -e ./examples
- env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: pytest --durations=10 -v -s -We -p no:unraisableexception -k "not run_notebooks" tests/devops_tests
Expand Down

0 comments on commit a9bed1e

Please sign in to comment.