Skip to content

Commit 8583620

Browse files
committed
CI: Use older Py 3.7 version to workaround issue with Python action.
The issue is the Python build used in the GitHub Action actions/setup-python. actions/setup-python#402
1 parent c61c1d5 commit 8583620

1 file changed

Lines changed: 8 additions & 4 deletions

File tree

‎.github/workflows/test.yml‎

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@ jobs:
77
strategy:
88
matrix:
99
os: [ubuntu-latest, macos-latest, windows-latest]
10-
python-version: ["3.6", "3.7", "3.8", "3.9"]
10+
# The latest macOS 3.7 Python builds have tkinter issues
11+
# https://github.com/actions/setup-python/issues/402
12+
python-version: ["3.6", "3.7.9", "3.8", "3.9"]
1113
fail-fast: false
1214
name: Poetry - Py ${{ matrix.python-version }} - ${{ matrix.os }}
1315
runs-on: ${{ matrix.os }}
@@ -28,12 +30,12 @@ jobs:
2830
- name: Install ubittool dependencies (from lock file)
2931
if: matrix.python-version == 3.8 && runner.os == 'macOS'
3032
run: poetry install
31-
- name: Prepare Ubuntu
33+
- name: Prepare Ubuntu xvfb
3234
if: runner.os == 'Linux'
3335
run: |
3436
sudo apt-get update
3537
sudo apt-get install -y libxkbcommon-x11-0 xvfb
36-
- name: Run tests
38+
- name: Run tests (Ubuntu)
3739
if: runner.os == 'Linux'
3840
run: xvfb-run poetry run python make.py check
3941
- name: Run tests
@@ -46,7 +48,9 @@ jobs:
4648
strategy:
4749
matrix:
4850
os: [ubuntu-latest, macos-latest, windows-latest]
49-
python-version: ["3.6", "3.7", "3.8", "3.9"]
51+
# The latest macOS 3.7 Python builds have tkinter issues
52+
# https://github.com/actions/setup-python/issues/402
53+
python-version: ["3.6", "3.7.9", "3.8", "3.9"]
5054
fail-fast: false
5155
name: Pipenv - Py ${{ matrix.python-version }} - ${{ matrix.os }}
5256
runs-on: ${{ matrix.os }}

0 commit comments

Comments
 (0)