Skip to content

Feature/支持多显示器配置 #107

Feature/支持多显示器配置

Feature/支持多显示器配置 #107

Workflow file for this run

name: CI Tests
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
ci:
strategy:
fail-fast: false
matrix:
python-version: [ '3.10', '3.11', '3.12', '3.13' ]
poetry-version: [ '2.1.1' ]
os: [ ubuntu-latest, macos-latest ]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Setup poetry
uses: abatilo/actions-poetry@v3
with:
poetry-version: ${{ matrix.poetry-version }}
- name: Install platform dependencies
if: matrix.os == 'ubuntu-latest'
run: |
sudo apt update
sudo apt install libdbus-1-dev build-essential libpython3-dev
- name: Poetry lock file
run: poetry lock
- name: Install dependencies
run: poetry install
- name: Run tests
uses: GabrielBB/xvfb-action@v1
with:
run: poetry run pytest -v tests/