File tree Expand file tree Collapse file tree 1 file changed +36
-0
lines changed
Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Original file line number Diff line number Diff line change 1+ name : CI
2+
3+ # This workflow will do a combination of testing, build, and deployment tasks
4+ # For more information see: https://docs.github.com/actions/automating-builds-and-tests/about-continuous-integration
5+
6+ on :
7+ push :
8+ branches : [ "main" ]
9+ pull_request :
10+ branches : [ "main" ]
11+
12+ jobs :
13+ build_and_test :
14+ runs-on : ubuntu-latest
15+
16+ steps :
17+ - uses : actions/checkout@v4
18+
19+ - name : Set up Python 3.10
20+ uses : actions/setup-python@v5
21+ with :
22+ python-version : " 3.10"
23+ cache : " uv"
24+ cache-dependency-path : " **/pyproject.toml"
25+
26+ - name : Install dependencies with uv
27+ run : " uv pip install --system --quiet --no-cache-dir -e .[dev]"
28+
29+ - name : Lint with Ruff
30+ run : " uv run --quiet --no-cache-dir ruff check ."
31+
32+ - name : Format with Ruff
33+ run : " uv run --quiet --no-cache-dir ruff format ."
34+
35+ - name : Test with Pytest
36+ run : " uv run --quiet --no-cache-dir pytest"
You can’t perform that action at this time.
0 commit comments