Skip to content

Commit

Permalink
broke down workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
metacollin committed Aug 14, 2024
1 parent d80575f commit ca11fcc
Show file tree
Hide file tree
Showing 6 changed files with 210 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/python310.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Unit Tests

on:
pull_request:
types:
- opened
- reopened
- ready_for_review
- synchronize
push:
branches:
- master

jobs:
test:
name: Python Version Gauntlet
strategy:
fail-fast: false
matrix:
python-version: '3.10'

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v1
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
pip install -r requirements-dev.txt
- name: Run Unit Tests
run: |
pytest
35 changes: 35 additions & 0 deletions .github/workflows/python311.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Unit Tests

on:
pull_request:
types:
- opened
- reopened
- ready_for_review
- synchronize
push:
branches:
- master

jobs:
test:
name: Python Version Gauntlet
strategy:
fail-fast: false
matrix:
python-version: '3.11'

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v1
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
pip install -r requirements-dev.txt
- name: Run Unit Tests
run: |
pytest
35 changes: 35 additions & 0 deletions .github/workflows/python312.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Unit Tests

on:
pull_request:
types:
- opened
- reopened
- ready_for_review
- synchronize
push:
branches:
- master

jobs:
test:
name: Python Version Gauntlet
strategy:
fail-fast: false
matrix:
python-version: '3.12'

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v1
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
pip install -r requirements-dev.txt
- name: Run Unit Tests
run: |
pytest
35 changes: 35 additions & 0 deletions .github/workflows/python37.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Unit Tests

on:
pull_request:
types:
- opened
- reopened
- ready_for_review
- synchronize
push:
branches:
- master

jobs:
test:
name: Python Version Gauntlet
strategy:
fail-fast: false
matrix:
python-version: 3.7

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v1
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
pip install -r requirements-dev.txt
- name: Run Unit Tests
run: |
pytest
35 changes: 35 additions & 0 deletions .github/workflows/python38.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Unit Tests

on:
pull_request:
types:
- opened
- reopened
- ready_for_review
- synchronize
push:
branches:
- master

jobs:
test:
name: Python Version Gauntlet
strategy:
fail-fast: false
matrix:
python-version: 3.8

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v1
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
pip install -r requirements-dev.txt
- name: Run Unit Tests
run: |
pytest
35 changes: 35 additions & 0 deletions .github/workflows/python39.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Unit Tests

on:
pull_request:
types:
- opened
- reopened
- ready_for_review
- synchronize
push:
branches:
- master

jobs:
test:
name: Python Version Gauntlet
strategy:
fail-fast: false
matrix:
python-version: 3.9

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v1
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
pip install -r requirements-dev.txt
- name: Run Unit Tests
run: |
pytest

0 comments on commit ca11fcc

Please sign in to comment.