Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CI: add missing "-e" args to pip install when installing multiple pkgs #426

Merged
merged 1 commit into from
May 12, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading