CI update

added
Docker on tag
Autotest on mergerequest to main
This commit is contained in:
2026-09-16 20:17:27 +03:00
parent 250ad25df4
commit 762f36beab
11 changed files with 352 additions and 9 deletions

47
README.md Normal file
View File

@@ -0,0 +1,47 @@
# ${REPO_NAME}
${REPO_DESCRIPTION}
## Requirements
Required Python version is specified in `.python-version`.
Install application dependencies:
```bash
python -m pip install -r requirements.txt
```
Install development dependencies:
```bash
python -m pip install -r requirements-dev.txt
```
## Tests
Run all tests:
```bash
python -m pytest
```
Tests are also executed automatically for Pull Requests targeting `main`.
A Pull Request must pass automated tests before it can be merged.
## Docker
Docker images are built automatically:
- when changes are pushed to the `deploy` branch;
- when a version tag matching `v*.*.*` is created.
The Python version used for Docker builds is taken from `.python-version`.
## Project structure
```text
src/ Application source code
tests/ Automated tests
```