diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml new file mode 100644 index 0000000..3456abb --- /dev/null +++ b/.gitea/workflows/ci.yml @@ -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