Skip to content

Commit

Permalink
ci: python dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
Okaneeee committed Oct 20, 2024
1 parent 20889ce commit 8366640
Show file tree
Hide file tree
Showing 3 changed files with 81 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/python310.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Check dependencies for PY3.10
name: Python 3.10

on:
push: { branches: [main] }
schedule:
- cron: '0 6 1 * *' # At 06:00 AM, on day 1 of the month

# Testing dependencies
jobs:
# Testing for Python 3.10
python310:
runs-on: ubuntu-latest
steps:

- name: Checkout repo
uses: actions/checkout@v4 # checkout the repository content to github runner

- name: Setup python
uses: actions/setup-python@v5
with:
python-version: '3.10' # install the python version needed

- name: Install python packages
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
27 changes: 27 additions & 0 deletions .github/workflows/python311.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Check dependencies for PY3.11
name: Python 3.11

on:
push: { branches: [main] }
schedule:
- cron: '0 6 1 * *' # At 06:00 AM, on day 1 of the month

# Testing dependencies
jobs:
# Testing for Python 3.11
python311:
runs-on: ubuntu-latest
steps:

- name: Checkout repo
uses: actions/checkout@v4 # checkout the repository content to github runner

- name: Setup python
uses: actions/setup-python@v5
with:
python-version: '3.11' # install the python version needed

- name: Install python packages
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
27 changes: 27 additions & 0 deletions .github/workflows/python312.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Check dependencies for PY3.12
name: Python 3.12

on:
push: { branches: [main] }
schedule:
- cron: '0 6 1 * *' # At 06:00 AM, on day 1 of the month

# Testing dependencies
jobs:
# Testing for Python 3.12
python312:
runs-on: ubuntu-latest
steps:

- name: Checkout repo
uses: actions/checkout@v4 # checkout the repository content to github runner

- name: Setup python
uses: actions/setup-python@v5
with:
python-version: '3.12' # install the python version needed

- name: Install python packages
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt

0 comments on commit 8366640

Please sign in to comment.