Skip to content

Fixes to horiz text alignment #1411

Fixes to horiz text alignment

Fixes to horiz text alignment #1411

Workflow file for this run

name: Run Tests
on: [push, pull_request]
jobs:
build-on-linux:
runs-on: ubuntu-latest
strategy:
max-parallel: 4
matrix:
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13']
pygame-ce-version: ['2.5.2']
steps:
- uses: actions/[email protected]
- name: Set up Python ${{ matrix.python-version }}
uses: actions/[email protected]
with:
python-version: ${{ matrix.python-version }}
pygame-ce-version: ${{ matrix.pygame-ce-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install stringify
python -m pip install python-i18n
python -m pip install pytest
python -m pip install pytest-benchmark
python -m pip install pytest-cov
python -m pip install -q pygame-ce==${{ matrix.pygame-ce-version }}
python -m pip install . -U
sudo apt-get install xvfb
sudo apt-get install xclip
sudo apt-get install xsel
- name: Test with pytest
env:
SDL_VIDEODRIVER: dummy
SDL_AUDIODRIVER: disk
run: |
xvfb-run pytest --cov-report=xml --cov=pygame_gui tests/
- name: Upload to Code Cov
uses: codecov/[email protected]
with:
token: ${{ secrets.CODECOV_TOKEN }} #required
build-on-windows:
runs-on: windows-latest
strategy:
max-parallel: 4
matrix:
python-version: [ '3.12','3.13' ]
pygame-ce-version: [ '2.5.2' ]
steps:
- uses: actions/[email protected]
- name: Set up Python ${{ matrix.python-version }}
uses: actions/[email protected]
with:
python-version: ${{ matrix.python-version }}
pygame-ce-version: ${{ matrix.pygame-ce-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install stringify
python -m pip install python-i18n
python -m pip install pytest
python -m pip install pytest-benchmark
python -m pip install pytest-cov
python -m pip install -q pygame-ce==${{ matrix.pygame-ce-version }}
python -m pip install . -U
- name: Test with pytest
env:
SDL_VIDEODRIVER: dummy
SDL_AUDIODRIVER: disk
run: |
pytest --cov-report=xml --cov=pygame_gui tests/
- name: Upload to Code Cov
uses: codecov/[email protected]
with:
token: ${{ secrets.CODECOV_TOKEN }} #required
build-on-mac:
runs-on: macos-latest
strategy:
max-parallel: 4
matrix:
python-version: [ '3.12', '3.13' ]
pygame-ce-version: [ '2.5.2' ]
steps:
- uses: actions/[email protected]
- name: Set up Python ${{ matrix.python-version }}
uses: actions/[email protected]
with:
python-version: ${{ matrix.python-version }}
pygame-ce-version: ${{ matrix.pygame-ce-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install stringify
python -m pip install python-i18n
python -m pip install pytest
python -m pip install pytest-benchmark
python -m pip install pytest-cov
python -m pip install -q pygame-ce==${{ matrix.pygame-ce-version }}
python -m pip install . -U
- name: Test with pytest
env:
SDL_VIDEODRIVER: dummy
SDL_AUDIODRIVER: disk
run: |
pytest --cov-report=xml --cov=pygame_gui tests/
- name: Upload to Code Cov
uses: codecov/[email protected]
with:
token: ${{ secrets.CODECOV_TOKEN }} #required