Skip to content

Commit

Permalink
pipeline / pipenv: explicitly specify python version to workaround pi…
Browse files Browse the repository at this point in the history
…penv picking highest available

#9
  • Loading branch information
fphammerle committed Jun 18, 2020
1 parent f1edde3 commit 16cd961
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@ jobs:
with:
python-version: ${{ matrix.python-version }}
- run: pip install --upgrade pipenv>=2018.10.9
- run: pipenv install --deploy --dev
- run: pipenv install --python "$PYTHON_VERSION" --deploy --dev
env:
PYTHON_VERSION: ${{ matrix.python-version }}
# ModuleNotFoundError: No module named 'importlib_metadata'
# https://github.com/WanzenBug/pylint-import-requirements/issues/17
- run: if python3 -c 'import sys; sys.exit(sys.version_info < (3, 8))'; then
Expand Down

0 comments on commit 16cd961

Please sign in to comment.