-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
python3: add to github workflow matrix
- Loading branch information
Showing
1 changed file
with
10 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,14 +12,23 @@ jobs: | |
strategy: | ||
fail-fast: false | ||
matrix: | ||
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "pypy-3.8", "pypy-3.9"] | ||
os: [ubuntu-20.04, ubuntu-22.04, macOS-latest, windows-latest] | ||
include: | ||
- python-version: "2.7" | ||
os: "ubuntu-20.04" | ||
- python-version: "2.7" | ||
os: "ubuntu-22.04" | ||
steps: | ||
- uses: actions/[email protected] | ||
- name: Set up Python ${{ matrix.python-version }} | ||
- name: Set up Python ${{ matrix.python-version }} (github action) | ||
if: matrix.python-version != '2.7' | ||
uses: actions/[email protected] | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
cache: 'pip' | ||
- name: Set up Python ${{ matrix.python-version }} (apt-get) | ||
if: matrix.python-version == '2.7' | ||
# since actions/python-versions removed 2.7 from versions-manifest.json | ||
# and also deleted all the python 2.7 binary artifacts, | ||
# we have to apt-get install python2 | ||
|