| 1 |
name: Python Tests |
| 2 |
|
| 3 |
on: [push] |
| 4 |
|
| 5 |
|
| 6 |
jobs: |
| 7 |
test: |
| 8 |
name: Run tests |
| 9 |
runs-on: ubuntu-latest |
| 10 |
strategy: |
| 11 |
matrix: |
| 12 |
python: ["3.9", "3.10", "3.11", "3.12", "3.13"] |
| 13 |
steps: |
| 14 |
- uses: actions/checkout@v4 |
| 15 |
- name: Install Python tools |
| 16 |
uses: BrandonLWhite/[email protected] |
| 17 |
- name: Setup Python with poetry caching |
| 18 |
|
| 19 |
uses: actions/setup-python@v5 |
| 20 |
with: |
| 21 |
python-version: ${{ matrix.python-version }} |
| 22 |
cache: poetry |
| 23 |
- name: Install ffmpeg |
| 24 |
run: sudo apt install -y --no-install-recommends ffmpeg |
| 25 |
- name: Test |
| 26 |
run: |- |
| 27 |
poetry install --extras=test |
| 28 |
poe test |