feat(3.3): CI workflow (gitea act_runner) — py_compile + юнит-тесты на push
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
name: CI
|
||||
on:
|
||||
push:
|
||||
branches: [main, hardening]
|
||||
pull_request:
|
||||
|
||||
jobs:
|
||||
test:
|
||||
runs-on: ubuntu-latest # раннер в host-режиме: системный python со всеми зависимостями
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Синтаксис всех модулей (py_compile)
|
||||
run: python3 -m py_compile *.py
|
||||
- name: Юнит-тесты без живого сервера
|
||||
run: python3 -m pytest tests/test_chat_context.py tests/test_code_validator.py tests/test_gge_deep.py -q
|
||||
Reference in New Issue
Block a user