Skip to content

Add batocera-launch emulator launcher framework #130

Add batocera-launch emulator launcher framework

Add batocera-launch emulator launcher framework #130

Workflow file for this run

name: Checks
on:
push:
paths:
- 'package/batocera/core/batocera-configgen/configgen/configgen/**'
- 'python-src/**'
- 'prek.toml'
- 'pyproject.toml'
- 'uv.lock'
- '.github/workflows/checks.yml'
- '.github/actions/setup-python/action.yml'
pull_request:
paths:
- 'package/batocera/core/batocera-configgen/configgen/configgen/**'
- 'python-src/**'
- 'prek.toml'
- 'pyproject.toml'
- 'uv.lock'
- '.github/workflows/checks.yml'
- '.github/actions/setup-python/action.yml'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
unit-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
- name: Set up Python Environment
uses: './.github/actions/setup-python'
- name: Run tests
env:
UV_NO_SYNC: 1
run: uv run py.test python-src
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
- name: Set up Python Environment
uses: './.github/actions/setup-python'
- name: Prek hooks
env:
UV_NO_SYNC: 1
run: uv run prek --show-diff-on-failure --color=always --all-files