-
Notifications
You must be signed in to change notification settings - Fork 1
34 lines (30 loc) · 1.17 KB
/
Copy pathcheck.yml
File metadata and controls
34 lines (30 loc) · 1.17 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
name: Check
# Runs on every push and pull request: the stdlib unittest suite (tests/)
# against the supported Python range. The golden fixture tests skip on this
# runner: the fixtures themselves are payloads from real commercial titles
# and are kept out of this repo entirely (see .github/UPDATING.md), and the
# aarch64 libdovi.so can't load here either way. Both are expected; the
# synthetic tests (loader behavior, never-raise paths that build payloads
# inline, statics vectors) still run and must pass.
on:
push:
pull_request:
jobs:
tests:
name: unittest (py${{ matrix.python-version }})
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
# Floor matches xbmc.python 3.0.0 (addon.xml), which is CPython 3.8
# on Kodi Nexus and newer; ceiling is a current interpreter, to catch
# forward-compat breakage early.
python-version: ['3.8', '3.12']
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Run tests
run: python -m unittest discover tests