with patch versions #9
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
name: Test Python Tk | |
on: | |
push: | |
branches: | |
- test-649 | |
workflow_dispatch: | |
jobs: | |
tests-poetry: | |
strategy: | |
matrix: | |
os: [macos-13] | |
# python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"] | |
python-version: ["3.7.15", "3.8.15", "3.9.15", "3.10.10"] | |
exclude: | |
- os: macos-latest | |
python-version: "3.7" | |
fail-fast: false | |
name: Py ${{ matrix.python-version }} - ${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Prepare Ubuntu xvfb | |
if: runner.os == 'Linux' | |
run: | | |
sudo apt-get update | |
sudo apt-get install -y libxkbcommon-x11-0 xvfb | |
- name: Run tk script (closes itself after 5 seconds) - Ubuntu | |
if: runner.os == 'Linux' | |
run: xvfb-run python tk_min.py | |
- name: Run tk script (closes itself after 5 seconds) | |
if: runner.os != 'Linux' | |
run: python tk_min.py |