Skip to content

色々と大量に変更 #1

色々と大量に変更

色々と大量に変更 #1

# This workflow will install Python dependencies, run tests and lint with a variety of Python versions
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
name: "unittest"
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
kivy_2_2_1:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.10', '3.11', '3.12', '3.13', ]
env:
DISPLAY: ':99.0'
steps:
- uses: actions/checkout@v5
with:
persist-credentials: false
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python-version }}
- name: Setup env
run: |
sudo apt-get update
sudo apt-get -y install xvfb pulseaudio xsel
/sbin/start-stop-daemon --start --quiet --pidfile /tmp/custom_xvfb_99.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :99 -screen 0 1280x720x24 -ac +extension GLX
- name: Install dependencies and self
run: |
python -m pip install --upgrade pip
python -m pip install "pytest>=8.4.2,<9" "kivy[base]>=2.3.1,<2.4"
python -m pip install .
- name: Test with pytest
run: make test