Skip to content

Commit e335449

Browse files
committed
Add windows and mac runners
1 parent 25d7acc commit e335449

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/ci-cd.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,11 @@ jobs:
3030
path: .coverage
3131

3232
Test:
33-
runs-on: ubuntu-latest
3433
strategy:
3534
matrix:
36-
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12']
35+
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']
36+
os: ["ubuntu-latest", "windows-latest", "macos-latest"]
37+
runs-on: ${{ matrix.os }}
3738
steps:
3839
- uses: actions/checkout@v4
3940
- name: Set up Python ${{ matrix.python-version }}
@@ -42,16 +43,15 @@ jobs:
4243
python-version: ${{ matrix.python-version }}
4344
- name: Install dependencies
4445
run: |
45-
python -m pip install -r requirements.txt && \
46-
python -m pip install -r requirements_dev.txt
46+
python -m pip install -r requirements.txt -r requirements_dev.txt
4747
- name: Test with pytest and coverage
4848
run: |
4949
pytest --rootdir=. --cov=./cert_chain_resolver --cov-report term-missing -n auto tests/
5050
- name: Upload coverage artifact
5151
if: success()
5252
uses: actions/upload-artifact@v4
5353
with:
54-
name: coverage-${{ matrix.python-version }}
54+
name: coverage-${{ matrix.python-version }}-${{ matrix.os }}
5555
path: .coverage
5656

5757
combine-coverage:

0 commit comments

Comments
 (0)