gui: add pseudo-ninepatch class. #1390
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: PyTest | |
on: [push, pull_request] | |
jobs: | |
linux: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: [ '3.8', '3.9', '3.10', '3.11', '3.12', 'pypy-3.10' ] | |
name: Python ${{ matrix.python-version }} ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install pytest | |
sudo apt-get install xvfb | |
- name: Run tests | |
run: | | |
xvfb-run pytest tests --ignore=tests/interactive | |
osx: | |
runs-on: macos-latest | |
strategy: | |
matrix: | |
python-version: [ '3.10', '3.11', '3.12' ] | |
name: Python ${{ matrix.python-version }} OSX | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install dependencies | |
run: | | |
pip install pytest | |
- name: Run tests | |
run: | | |
pytest tests --ignore=tests/interactive --ignore=tests/integration | |
windows: | |
runs-on: windows-latest | |
strategy: | |
matrix: | |
python-version: [ '3.8', '3.9', '3.10', '3.11', '3.12' ] | |
name: Python ${{ matrix.python-version }} Windows | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- uses: msys2/setup-msys2@v2 | |
with: | |
msystem: MINGW64 | |
release: false | |
install: mingw-w64-x86_64-mesa | |
- uses: ssciwr/setup-mesa-dist-win@v2 | |
- name: Install dependencies | |
run: | | |
pip install pytest | |
- name: Run tests | |
shell: pwsh | |
run: | | |
pytest tests --ignore=tests/interactive |