Skip to content

docs / examples

docs / examples #472

Workflow file for this run

name: gopro overlay
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
strategy:
matrix:
version: [ "3.10", "3.11", "3.12" ]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: ${{matrix.version}}
- name: Update apt
run: |
sudo apt update
- name: Install dependencies
run: |
sudo apt install fonts-roboto ffmpeg
PYTHONVERSION=${{matrix.version}} make venv req
- name: Test with pytest
run: |
PYTHONVERSION=${{matrix.version}} make ci
- name: Upload build artefacts
if: failure()
uses: actions/upload-artifact@v2
with:
name: approval-artifacts
path: ${{ github.workspace }}/tests/approvals/*.png
retention-days: 2