diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml new file mode 100644 index 0000000..2701ccb --- /dev/null +++ b/.github/workflows/python.yml @@ -0,0 +1,32 @@ +name: Build & Test + +on: + push: + branches: [ main ] + pull_request: + branches: [ main ] + merge_group: + types: [ checks_requested ] + +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@v4 + with: + python-version: ${{ matrix.python-version }} + - name: Install dependencies + run: | + python -m pip install --upgrade pip + pip install -r requirements.txt + - name: Run scripts help flag + run: | + for script in bin/*.py; do + echo "Running script: ${script}" + ./${script} --help + done