Skip to content

Commit 93e918c

Browse files
committed
chore: add GitHub Actions workflow for Python app CI
Introduce a CI workflow to automate testing for the Python app. The workflow triggers on pushes to `main`, tags matching `v*.*.*`, and pull requests. It sets up Python, installs dependencies, and runs pre-commit checks to ensure code quality.
1 parent a21d1aa commit 93e918c

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

.github/workflows/python-app.yaml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Python Application
2+
on:
3+
push:
4+
branches: [main]
5+
tags:
6+
- "v*.*.*"
7+
pull_request:
8+
jobs:
9+
test:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Checkout
13+
uses: actions/checkout@v4
14+
- name: Install uv
15+
uses: astral-sh/setup-uv@v5
16+
with:
17+
enable-cache: true
18+
- name: Set up Python
19+
uses: actions/setup-python@v5
20+
with:
21+
python-version-file: pyproject.toml
22+
- name: Install the project
23+
run: uv sync --all-extras --dev
24+
- name: Check files
25+
run: uv run pre-commit run -a

0 commit comments

Comments
 (0)