Spaces:
Running
Running
Add pre-commits and docs to GitHub Actions.
Browse files
.github/workflows/test.yaml
CHANGED
|
@@ -24,10 +24,20 @@ jobs:
|
|
| 24 |
run: |
|
| 25 |
eval `ssh-agent -s`
|
| 26 |
ssh-add - <<< '${{ secrets.LYNXSCRIBE_DEPLOY_KEY }}'
|
| 27 |
-
uv pip install
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 28 |
env:
|
| 29 |
UV_SYSTEM_PYTHON: 1
|
| 30 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 31 |
- name: Run core tests
|
| 32 |
run: |
|
| 33 |
cd lynxkite-core
|
|
@@ -43,6 +53,11 @@ jobs:
|
|
| 43 |
cd lynxkite-graph-analytics
|
| 44 |
pytest
|
| 45 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 46 |
- uses: actions/setup-node@v4
|
| 47 |
with:
|
| 48 |
node-version: lts/*
|
|
|
|
| 24 |
run: |
|
| 25 |
eval `ssh-agent -s`
|
| 26 |
ssh-add - <<< '${{ secrets.LYNXSCRIBE_DEPLOY_KEY }}'
|
| 27 |
+
uv pip install \
|
| 28 |
+
-e lynxkite-core/[dev] \
|
| 29 |
+
-e lynxkite-app/[dev] \
|
| 30 |
+
-e lynxkite-graph-analytics/[dev] \
|
| 31 |
+
-e lynxkite-bio \
|
| 32 |
+
-e lynxkite-lynxscribe/ \
|
| 33 |
+
-e lynxkite-pillow-example/
|
| 34 |
env:
|
| 35 |
UV_SYSTEM_PYTHON: 1
|
| 36 |
|
| 37 |
+
- name: Run pre-commits
|
| 38 |
+
run: |
|
| 39 |
+
pre-commit run --all-files
|
| 40 |
+
|
| 41 |
- name: Run core tests
|
| 42 |
run: |
|
| 43 |
cd lynxkite-core
|
|
|
|
| 53 |
cd lynxkite-graph-analytics
|
| 54 |
pytest
|
| 55 |
|
| 56 |
+
- name: Try building the documentation
|
| 57 |
+
run: |
|
| 58 |
+
uv pip install mkdocs-material mkdocstrings[python]
|
| 59 |
+
mkdocs build
|
| 60 |
+
|
| 61 |
- uses: actions/setup-node@v4
|
| 62 |
with:
|
| 63 |
node-version: lts/*
|
docs/lynxkite-graph-analytics.md
CHANGED
|
@@ -3,4 +3,4 @@
|
|
| 3 |
This is the classical LynxKite experience!
|
| 4 |
The graph analytics plugin is a collection of graph algorithms that can be run on a LynxKite graph.
|
| 5 |
|
| 6 |
-
:::
|
|
|
|
| 3 |
This is the classical LynxKite experience!
|
| 4 |
The graph analytics plugin is a collection of graph algorithms that can be run on a LynxKite graph.
|
| 5 |
|
| 6 |
+
::: lynxkite_graph_analytics.lynxkite_ops
|