feat: add uv-based project with pytest and CI workflow
Test Workflow / test (push) Failing after 1m53s

- Add pyproject.toml and uv.lock for Python project with uv
- Add src/__init__.py with add(), multiply(), greet() functions
- Add tests/test_example.py with unit tests
- Add commit-message skill for Conventional Commits
- Add Gitea Actions workflow to run pytest
This commit is contained in:
dev
2026-04-25 23:41:02 +02:00
parent 9870aae103
commit 490f92935e
6 changed files with 194 additions and 5 deletions
+13 -5
View File
@@ -9,8 +9,16 @@ jobs:
- name: Checkout code
uses: actions/checkout@v4
- name: Run test
run: |
echo "Hello from Gitea Actions!"
echo "Testing runner..."
echo "Done!"
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Install uv
uses: astral-sh/setup-uv@v4
- name: Install dependencies
run: uv sync --extra test
- name: Run tests
run: uv run pytest tests/ -v