diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d0f7052..acd259b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -67,6 +67,18 @@ jobs: run: | twine check dist/* + - name: Test installation and entry point + run: | + # 1. Install exactly what you just compiled (the wheel file) + python -m pip install dist/*.whl + + # 2. Check that the command is available in the PATH and displays help + # If entry_points is set incorrectly, everything will fail here. + pgpro-pytest-html-merger --help + + # 3. Checking the version + pgpro-pytest-html-merger --version + test: runs-on: ubuntu-latest needs: build-check