diff --git a/.github/workflows/pip-test.yml b/.github/workflows/pip-test.yml new file mode 100644 index 0000000..4546afd --- /dev/null +++ b/.github/workflows/pip-test.yml @@ -0,0 +1,24 @@ +name: Check pip install + +on: [push] + +env: + PACKAGE_NAME: bach_generator + +jobs: + build: + runs-on: ubuntu-latest + strategy: + matrix: + python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] + steps: + - uses: actions/checkout@v4 + - name: Set up Python + uses: actions/setup-python@v5 + with: + python-version: "3.x" + - name: Install $PACKAGE_NAME + run: | + python -m pip install --upgrade pip + pip install $PACKAGE_NAME + python -m $PACKAGE_NAME -h