mirror of
https://github.com/Screenly/Anthias.git
synced 2026-04-29 10:54:14 -04:00
- Remove obsolete javascript-lint.yaml (no package.json after React removal) - Remove TypeScript test job from docker-test.yaml (no npm in container) - Simplify test-runner.yml to Python-only, add migrate + collectstatic before integration tests to fix missing staticfiles manifest - Fix settings.py to create config directory before writing screenly.conf - Apply ruff formatting to all Python files Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
43 lines
949 B
YAML
43 lines
949 B
YAML
name: Run Unit Tests
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
paths:
|
|
- '**/**'
|
|
- '!.editorconfig'
|
|
- '!README.md'
|
|
- '!CONTRIBUTING.md'
|
|
- '!webview/**'
|
|
- '!website/**'
|
|
- '!.github/workflows/build-webview.yaml'
|
|
- '!.github/workflows/build-balena-disk-image.yaml'
|
|
- '!.github/release.yml'
|
|
- '!.github/dependabot.yml'
|
|
- '!docs/**'
|
|
- '!.cursor/**'
|
|
pull_request:
|
|
branches:
|
|
- master
|
|
paths:
|
|
- '**/**'
|
|
- '!.editorconfig'
|
|
- '!README.md'
|
|
- '!CONTRIBUTING.md'
|
|
- '!webview/**'
|
|
- '!website/**'
|
|
- '!.github/workflows/build-webview.yaml'
|
|
- '!.github/workflows/build-balena-disk-image.yaml'
|
|
- '!.github/release.yml'
|
|
- '!.github/dependabot.yml'
|
|
- '!docs/**'
|
|
- '!.cursor/**'
|
|
workflow_call:
|
|
|
|
jobs:
|
|
run-python-tests:
|
|
uses: ./.github/workflows/test-runner.yml
|
|
with:
|
|
python-version: '3.11'
|