Skip to content

Commit 57bd504

Browse files
authored
Run PR on multiplatform and multi Python version (#53)
1 parent 8fac8f4 commit 57bd504

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.github/workflows/PR.yml

+7-2
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,17 @@ on:
1313

1414
jobs:
1515
pr:
16-
runs-on: ubuntu-latest
16+
runs-on: ${{ matrix.os }}
17+
strategy:
18+
matrix:
19+
os: [macos-latest, windows-latest, ubuntu-latest]
20+
python-version: [3.6, 3.7, 3.8, 3.9]
1721
steps:
1822
- uses: actions/checkout@v2
1923

2024
- uses: actions/setup-python@v1
2125
with:
22-
python-version: 3.6
26+
python-version: ${{ matrix.python-version }}
2327

2428
- uses: Gr1N/setup-poetry@v4
2529
with:
@@ -36,6 +40,7 @@ jobs:
3640
locker = Factory().create_poetry('.').locker; \
3741
exit(0) if locker.is_locked() and locker.is_fresh() else exit(1)" \
3842
&& echo 'OK'
43+
shell: bash
3944

4045
- name: Install the Package
4146
run: poetry install

0 commit comments

Comments
 (0)