Browse Source

github workflow / pipenv: explicitly specify python version to workaround pipenv picking highest available

https://github.com/fphammerle/ical2vdir/issues/9
https://github.com/fphammerle/ical2vdir/pull/10/files
https://github.com/fphammerle/ical2vdir/commit/16cd96154ff5e1063d90b4e61e96f710e657ad7e
Fabian Peter Hammerle 3 years ago
parent
commit
9b3647d320
1 changed files with 5 additions and 1 deletions
  1. 5 1
      .github/workflows/python.yml

+ 5 - 1
.github/workflows/python.yml

@@ -1,3 +1,5 @@
+# sync with https://github.com/fphammerle/ical2vdir/blob/master/.github/workflows/python.yml
+
 on:
   push:
   pull_request:
@@ -21,7 +23,9 @@ jobs:
       with:
         python-version: ${{ matrix.python-version }}
     - run: pip install --upgrade pipenv>=2018.10.9
-    - run: pipenv sync --dev
+    - run: pipenv install --python "$PYTHON_VERSION" --deploy --dev
+      env:
+        PYTHON_VERSION: ${{ matrix.python-version }}
     - run: if python3 -c 'import sys; sys.exit(sys.version_info < (3, 8))'; then
            pipenv install 'astroid>=2.3.0';
            fi