Skip to content

Commit

Permalink
Merge pull request #16 from Okaneeee/ci/actions
Browse files Browse the repository at this point in the history
ci: separate actions
  • Loading branch information
Okaneeee authored Feb 3, 2024
2 parents 3b94b8c + df55d69 commit 1813b41
Show file tree
Hide file tree
Showing 7 changed files with 130 additions and 200 deletions.
100 changes: 0 additions & 100 deletions .github/workflows/develop.yml

This file was deleted.

100 changes: 0 additions & 100 deletions .github/workflows/main.yml

This file was deleted.

26 changes: 26 additions & 0 deletions .github/workflows/python310.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Check dependencies PY3.10

on:
push: { branches: [develop] }
schedule:
- cron: '0 0 * * 1' # At 00:00 on Monday

# 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
26 changes: 26 additions & 0 deletions .github/workflows/python311.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Check dependencies PY3.11

on:
push: { branches: [develop] }
schedule:
- cron: '0 0 * * 1' # At 00:00 on Monday

# 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
26 changes: 26 additions & 0 deletions .github/workflows/python312.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Check dependencies PY3.12

on:
push: { branches: [develop] }
schedule:
- cron: '0 0 * * 1' # At 00:00 on Monday

# 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
26 changes: 26 additions & 0 deletions .github/workflows/python38.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Check dependencies PY3.8

on:
push: { branches: [develop] }
schedule:
- cron: '0 0 * * 1' # At 00:00 on Monday

# Testing dependencies
jobs:
# Testing for Python 3.8
python38:
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.8' # install the python version needed

- name: Install python packages
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
26 changes: 26 additions & 0 deletions .github/workflows/python39.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Check dependencies PY3.9

on:
push: { branches: [develop] }
schedule:
- cron: '0 0 * * 1' # At 00:00 on Monday

# Testing dependencies
jobs:
# Testing for Python 3.9
python39:
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.9' # 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 1813b41

Please sign in to comment.