Compare commits

...

7 Commits

Author SHA1 Message Date
k1nq 1ce5843436 Merge pull request 'test-workflow' (#2) from test-workflow into dev
Reviewed-on: k1nq/test-task-crm#2
2025-11-27 09:53:13 +00:00
Artem Kashaev aa5958028c fix: standardize spacing in main.py
Test / test (push) Successful in 14s Details
2025-11-27 14:49:59 +05:00
Artem Kashaev 30c7e8c9aa fix: standardize spacing in main.py
Test / test (push) Successful in 11s Details
2025-11-27 14:49:25 +05:00
Artem Kashaev 65eb82176d fix: uncomment paths in test workflow for push and pull_request triggers 2025-11-27 14:48:58 +05:00
Artem Kashaev 760269c07a fix: update test workflow to include fetch-depth for checkout and remove caching step
Test / test (push) Successful in 10s Details
2025-11-27 14:48:13 +05:00
Artem Kashaev d86206f2ef test ci
Test / test (push) Has been cancelled Details
2025-11-27 14:39:50 +05:00
Artem Kashaev 4b9a5209ea feat: add Gitea Actions workflow for automated testing 2025-11-27 14:38:40 +05:00
1 changed files with 43 additions and 0 deletions

43
.gitea/workflows/test.yml Normal file
View File

@ -0,0 +1,43 @@
name: Test
on:
push:
branches:
- "**"
paths:
- '**.py'
- 'pyproject.toml'
- 'poetry.lock'
- 'tests/**'
pull_request:
branches:
- "**"
paths:
- '**.py'
- 'pyproject.toml'
- 'poetry.lock'
- 'tests/**'
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.14'
- name: Install uv
run: pip install uv
- name: Sync dependencies
run: uv sync --dev
- name: Run tests
run: uv run pytest