Browse Source

pipeline: add test verifying that the command-line entrypoint is available after installing the wheel

Fabian Peter Hammerle 1 year ago
parent
commit
b0aa62d6c7
1 changed files with 11 additions and 0 deletions
  1. 11 0
      .github/workflows/python.yml

+ 11 - 0
.github/workflows/python.yml

@@ -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: