Skip to content

Commit eebc85b

Browse files
committed
first test for ci
1 parent 4a0bf11 commit eebc85b

File tree

2 files changed

+45
-15
lines changed

2 files changed

+45
-15
lines changed
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Build notebooks
2+
on:
3+
push:
4+
# paths:
5+
# - 'docs/notebook_source'
6+
7+
jobs:
8+
deploy:
9+
runs-on: ubuntu-latest
10+
permissions:
11+
contents: write
12+
env:
13+
NVIDIA_API_KEY: ${{ secrets.NVIDIA_API_KEY }}
14+
steps:
15+
- name: Checkout repository
16+
uses: actions/checkout@v2
17+
- name: Install uv
18+
uses: astral-sh/setup-uv@v6
19+
with:
20+
version: "0.9.5"
21+
- name: Set up Python
22+
run: uv python install
23+
- name: Convert and execute notebooks
24+
run: make convert-execute-notebooks
25+
- name: Upload notebooks as artifacts
26+
uses: actions/upload-artifact@v4
27+
with:
28+
name: notebooks
29+
path: docs/notebooks

Makefile

Lines changed: 16 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -15,29 +15,30 @@ help:
1515
@echo "═════════════════════════════════════════════════════════════"
1616
@echo ""
1717
@echo "📦 Installation:"
18-
@echo " install - Install project dependencies with uv"
19-
@echo " install-dev - Install project with dev dependencies"
20-
@echo " install-dev-notebooks - Install dev + notebook dependencies (Jupyter, etc.)"
18+
@echo " install - Install project dependencies with uv"
19+
@echo " install-dev - Install project with dev dependencies"
20+
@echo " install-dev-notebooks - Install dev + notebook dependencies (Jupyter, etc.)"
2121
@echo ""
2222
@echo "🧪 Testing:"
23-
@echo " test - Run all unit tests"
24-
@echo " coverage - Run tests with coverage report"
23+
@echo " test - Run all unit tests"
24+
@echo " coverage - Run tests with coverage report"
2525
@echo ""
2626
@echo "✨ Code Quality:"
27-
@echo " format - Format code with ruff"
28-
@echo " format-check - Check code formatting without making changes"
29-
@echo " lint - Lint code with ruff"
30-
@echo " lint-fix - Fix linting issues automatically"
27+
@echo " format - Format code with ruff"
28+
@echo " format-check - Check code formatting without making changes"
29+
@echo " lint - Lint code with ruff"
30+
@echo " lint-fix - Fix linting issues automatically"
3131
@echo ""
3232
@echo "🔍 Combined Checks:"
33-
@echo " check-all - Run all checks (format-check + lint)"
34-
@echo " check-all-fix - Run all checks with autofix (format + lint-fix)"
33+
@echo " check-all - Run all checks (format-check + lint)"
34+
@echo " check-all-fix - Run all checks with autofix (format + lint-fix)"
3535
@echo ""
3636
@echo "🛠️ Utilities:"
37-
@echo " clean - Remove coverage reports and cache files"
38-
@echo " serve-docs-locally - Serve documentation locally"
39-
@echo " check-license-headers - Check if all files have license headers"
40-
@echo " update-license-headers - Add license headers to all files"
37+
@echo " clean - Remove coverage reports and cache files"
38+
@echo " convert-execute-notebooks - Convert notebooks from .py to .ipynb using jupytext"
39+
@echo " serve-docs-locally - Serve documentation locally"
40+
@echo " check-license-headers - Check if all files have license headers"
41+
@echo " update-license-headers - Add license headers to all files"
4142
@echo ""
4243
@echo "═════════════════════════════════════════════════════════════"
4344
@echo "💡 Tip: Run 'make <command>' to execute any command above"

0 commit comments

Comments
 (0)