Skip to content

Commit

Permalink
Add github action to check installing dependencies in different versions
Browse files Browse the repository at this point in the history
  • Loading branch information
DJDuque committed Mar 9, 2024
1 parent 263c065 commit 40f37de
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/python.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 40f37de

Please sign in to comment.