Files
LorenEteval_Furious/.github/workflows/source-tests.yml
T
2026-09-18 22:03:10 +08:00

34 lines
941 B
YAML

name: Source regression tests
on:
workflow_call:
workflow_dispatch:
permissions:
contents: read
jobs:
unittest:
name: Source tests on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
timeout-minutes: 30
strategy:
fail-fast: false
matrix:
os: [ubuntu-22.04, windows-2025, macos-14]
env:
QT_QPA_PLATFORM: offscreen
PYTHONUTF8: "1"
steps:
- uses: actions/checkout@v7
- uses: actions/setup-python@v7
with:
python-version: "3.13"
- name: Install Linux Qt runtime libraries
if: runner.os == 'Linux'
run: sudo apt-get update && sudo apt-get install -y libegl1 libopengl0
- name: Install source test dependencies
run: python -m pip install -r requirements.txt "PySide6-Essentials==6.8.3" "PySide6-Addons==6.8.3"
- name: Run isolated behavioral and resource tests
run: python -m unittest discover -s tests -v