Skip to content

Commit

Permalink
CI: Use older Py 3.7 version to workaround issue with Python action.
Browse files Browse the repository at this point in the history
The issue is the Python build used in the GitHub Action
actions/setup-python.

actions/setup-python#402
  • Loading branch information
carlosperate committed May 6, 2022
1 parent c61c1d5 commit 8583620
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: ["3.6", "3.7", "3.8", "3.9"]
# The latest macOS 3.7 Python builds have tkinter issues
# https://github.com/actions/setup-python/issues/402
python-version: ["3.6", "3.7.9", "3.8", "3.9"]
fail-fast: false
name: Poetry - Py ${{ matrix.python-version }} - ${{ matrix.os }}
runs-on: ${{ matrix.os }}
Expand All @@ -28,12 +30,12 @@ jobs:
- name: Install ubittool dependencies (from lock file)
if: matrix.python-version == 3.8 && runner.os == 'macOS'
run: poetry install
- name: Prepare Ubuntu
- name: Prepare Ubuntu xvfb
if: runner.os == 'Linux'
run: |
sudo apt-get update
sudo apt-get install -y libxkbcommon-x11-0 xvfb
- name: Run tests
- name: Run tests (Ubuntu)
if: runner.os == 'Linux'
run: xvfb-run poetry run python make.py check
- name: Run tests
Expand All @@ -46,7 +48,9 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: ["3.6", "3.7", "3.8", "3.9"]
# The latest macOS 3.7 Python builds have tkinter issues
# https://github.com/actions/setup-python/issues/402
python-version: ["3.6", "3.7.9", "3.8", "3.9"]
fail-fast: false
name: Pipenv - Py ${{ matrix.python-version }} - ${{ matrix.os }}
runs-on: ${{ matrix.os }}
Expand Down

0 comments on commit 8583620

Please sign in to comment.