From 59a6d3b326f7c102c92319a9cd5d756878391f79 Mon Sep 17 00:00:00 2001 From: Richard Baltrusch Date: Sat, 22 Jun 2024 14:38:00 +0200 Subject: [PATCH] Add pip install bach_generator workflow --- .github/workflows/pip-test.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/pip-test.yml diff --git a/.github/workflows/pip-test.yml b/.github/workflows/pip-test.yml new file mode 100644 index 0000000..c1aedf9 --- /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"] + 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