2 Commits 3969687a88 ... 5a521c33c2

Author SHA1 Message Date
  Fabian Peter Hammerle 5a521c33c2 pipeline: upgrade pipenv from v2020.8.13 to v2022.9.21 (to reduce runtime of `pipenv install` from approx 58s to approx 26s) 1 year ago
  Fabian Peter Hammerle b0aa62d6c7 pipeline: add test verifying that the command-line entrypoint is available after installing the wheel 1 year ago
1 changed files with 14 additions and 3 deletions
  1. 14 3
      .github/workflows/python.yml

+ 14 - 3
.github/workflows/python.yml

@@ -23,7 +23,7 @@ jobs:
         python-version: ${{ matrix.python-version }}
         # did not reduce runtime of `pipenv install` (still approx. 1 min)
         #cache: pipenv
-    - run: pip install --upgrade pipenv==2020.8.13
+    - run: pip install --upgrade pipenv==2022.9.21
     - run: pipenv install --python "$PYTHON_VERSION" --deploy --dev
       env:
         PYTHON_VERSION: ${{ matrix.python-version }}
@@ -46,7 +46,7 @@ jobs:
         python-version: ${{ matrix.python-version }}
         # did not reduce runtime of `pipenv install` (still approx. 1 min)
         #cache: pipenv
-    - run: pip install --upgrade pipenv==2020.8.13
+    - run: pip install --upgrade pipenv==2022.9.21
     # by default pipenv picks the latest version in PATH
     - run: pipenv install --python "$PYTHON_VERSION" --deploy --dev
       env:
@@ -73,6 +73,17 @@ jobs:
         GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
         # https://github.com/TheKevJames/coveralls-python/issues/240#issuecomment-758336355
         COVERALLS_SERVICE_NAME: github
+  install:
+    runs-on: ubuntu-20.04
+    steps:
+    - uses: actions/checkout@v3
+    - uses: actions/setup-python@v4
+      with: {python-version: 3.9}
+    - run: '! ical2vdir --help'
+    - run: pip install wheel==0.37.1
+    - run: python setup.py bdist_wheel
+    - run: pip install dist/*.whl
+    - run: ical2vdir --help
   check-links:
     runs-on: ubuntu-20.04
     strategy:
@@ -83,7 +94,7 @@ jobs:
     - uses: actions/setup-python@v4
       with:
         python-version: ${{ matrix.python-version }}
-    - run: pip install --upgrade pipenv==2020.8.13
+    - run: pip install --upgrade pipenv==2022.9.21
     - run: pipenv install --python "$PYTHON_VERSION" --deploy --dev
       env:
         PYTHON_VERSION: ${{ matrix.python-version }}