Skip to content

Commit

Permalink
Extend checks for more Python-s
Browse files Browse the repository at this point in the history
Add a matrix in order to check at least:

- oldest Python version
- default Python version on pkgsrc-current
- newest Python version available

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.
  • Loading branch information
iamleot committed Dec 3, 2023
1 parent 7112c1f commit b892829
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,17 @@ jobs:
build:
name: Check and test transferwee
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
version: ['3.8', '3.10', 3.11']
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Python 3.10
- name: Set up Python ${{ matrix.version }}
uses: actions/setup-python@v4
with:
python-version: '3.10'
python-version: ${{ matrix.version }}
- name: Cache pip
uses: actions/cache@v3
with:
Expand Down

0 comments on commit b892829

Please sign in to comment.