Spaces:
Runtime error
Runtime error
Charles Azam
commited on
Commit
·
bde88fd
1
Parent(s):
4b8de3d
feat: add pipeline
Browse files- .github/CODEOWNERS +1 -0
- .github/workflows/pipeline.yml +27 -0
.github/CODEOWNERS
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
* @charles-azam
|
.github/workflows/pipeline.yml
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
name: Python CI
|
| 2 |
+
|
| 3 |
+
on:
|
| 4 |
+
push:
|
| 5 |
+
branches:
|
| 6 |
+
- main # only on main branch, I am paying for this!
|
| 7 |
+
|
| 8 |
+
|
| 9 |
+
jobs:
|
| 10 |
+
pytest:
|
| 11 |
+
name: python
|
| 12 |
+
runs-on: ubuntu-latest
|
| 13 |
+
|
| 14 |
+
steps:
|
| 15 |
+
- uses: actions/checkout@v4
|
| 16 |
+
with:
|
| 17 |
+
submodules: recursive # <-- fetches all submodules, recursively
|
| 18 |
+
fetch-depth: 0 # <-- ensures full history (required for submodule updates)
|
| 19 |
+
|
| 20 |
+
- name: Install uv
|
| 21 |
+
uses: astral-sh/setup-uv@v5
|
| 22 |
+
|
| 23 |
+
- name: Install the project
|
| 24 |
+
run: uv sync
|
| 25 |
+
|
| 26 |
+
- name: Run tests
|
| 27 |
+
run: uv run pytest tests
|