Skip to content

Commit 694b7a1

Browse files
committed
expanding actions
1 parent c0667df commit 694b7a1

File tree

1 file changed

+65
-9
lines changed

1 file changed

+65
-9
lines changed

.github/workflows/test-coverage-lint.yml

+65-9
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,8 @@ on:
1818
- bug/*
1919

2020
jobs:
21-
build:
22-
23-
runs-on: ubuntu-latest
21+
linting:
22+
runs-on: ${{ matrix.os }}
2423
strategy:
2524
matrix:
2625
python-version:
@@ -29,6 +28,8 @@ jobs:
2928
- '3.10'
3029
- '3.11'
3130
- '3.12'
31+
os:
32+
- ubuntu-latest
3233

3334
steps:
3435
- uses: actions/checkout@v3
@@ -45,9 +46,64 @@ jobs:
4546
- name: Run Linting
4647
run: |
4748
make pylint
48-
- name: Run Unit-Testing and Coverage
49-
run: |
50-
make coverage
51-
- name: Run Build
52-
run: |
53-
make build
49+
50+
testing-coverage:
51+
runs-on: ${{ matrix.os }}
52+
strategy:
53+
matrix:
54+
python-version:
55+
- 3.8
56+
- 3.9
57+
- '3.10'
58+
- '3.11'
59+
- '3.12'
60+
os:
61+
- ubuntu-latest
62+
63+
steps:
64+
- uses: actions/checkout@v3
65+
- name: Set up Python ${{ matrix.python-version }}
66+
uses: actions/setup-python@v4
67+
with:
68+
python-version: ${{ matrix.python-version }}
69+
- name: Upgrade pip setuptools wheel
70+
run: |
71+
python -m pip install --upgrade pip setuptools wheel
72+
- name: Install requirements from requirements-dev.txt
73+
run: |
74+
pip install -r requirements-dev.txt
75+
- name: Run Unit-Testing and Coverage
76+
run: |
77+
make coverage
78+
- name: Run Build
79+
run: |
80+
make build
81+
82+
build:
83+
runs-on: ${{ matrix.os }}
84+
strategy:
85+
matrix:
86+
python-version:
87+
- 3.8
88+
- 3.9
89+
- '3.10'
90+
- '3.11'
91+
- '3.12'
92+
os:
93+
- ubuntu-latest
94+
95+
steps:
96+
- uses: actions/checkout@v3
97+
- name: Set up Python ${{ matrix.python-version }}
98+
uses: actions/setup-python@v4
99+
with:
100+
python-version: ${{ matrix.python-version }}
101+
- name: Upgrade pip setuptools wheel
102+
run: |
103+
python -m pip install --upgrade pip setuptools wheel
104+
- name: Install requirements from requirements-dev.txt
105+
run: |
106+
pip install -r requirements-dev.txt
107+
- name: Run Build
108+
run: |
109+
make build

0 commit comments

Comments
 (0)