Skip to content

Commit 4bc082f

Browse files
committed
Extend checks for more Python-s
Add a matrix in order to check at least: - oldest Python version - default Python version on pkgsrc-current - newest Python version Set `fail-fast` to `false` (by default it is `true`) in order to run all matrix jobs to see all Python versions that fail instead of pointing out only the first (and non-deterministic) one that fails. Related to #49 and #71.
1 parent 7112c1f commit 4bc082f

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/python.yml

+6-2
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,17 @@ jobs:
1212
build:
1313
name: Check and test transferwee
1414
runs-on: ubuntu-latest
15+
strategy:
16+
fail-fast: false
17+
matrix:
18+
version: ['3.8', '3.10', '3.12']
1519
steps:
1620
- name: Checkout code
1721
uses: actions/checkout@v3
18-
- name: Set up Python 3.10
22+
- name: Set up Python ${{ matrix.version }}
1923
uses: actions/setup-python@v4
2024
with:
21-
python-version: '3.10'
25+
python-version: ${{ matrix.version }}
2226
- name: Cache pip
2327
uses: actions/cache@v3
2428
with:

0 commit comments

Comments
 (0)