Skip to content

Commit 37ebddc

Browse files
committed
Align with template
1 parent 12e28c2 commit 37ebddc

3 files changed

Lines changed: 11 additions & 13 deletions

File tree

.github/workflows/docs.yml

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ on:
77
pull_request:
88
branches:
99
- main
10+
- dev
11+
release:
12+
types: [published]
1013
workflow_dispatch:
1114

1215
permissions:
@@ -24,17 +27,16 @@ jobs:
2427
runs-on: ubuntu-latest
2528
steps:
2629
- uses: actions/checkout@v4
27-
28-
- name: Install system dependencies
29-
run: sudo apt-get update && sudo apt-get install -y graphviz
30+
with:
31+
fetch-depth: 0 # Needed for hatch-vcs to determine version
3032

3133
- name: Install uv
3234
uses: astral-sh/setup-uv@v6
3335
with:
3436
enable-cache: true
3537
python-version: "3.12"
3638

37-
- name: Install documentation dependencies
39+
- name: Install the project
3840
run: uv sync --only-group docs
3941

4042
- name: Build documentation
@@ -45,17 +47,14 @@ jobs:
4547
- name: Add .nojekyll file
4648
run: touch docs/build/html/.nojekyll
4749

48-
- name: Add CNAME file for custom domain
49-
run: echo "www.ezmsg.org" > docs/build/html/CNAME
50-
5150
- name: Upload artifact
5251
uses: actions/upload-pages-artifact@v3
5352
with:
5453
path: 'docs/build/html'
5554

5655
deploy:
57-
# Deploy on push to main
58-
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
56+
# Only deploy when a release is published
57+
if: github.event_name == 'release'
5958
environment:
6059
name: github-pages
6160
url: ${{ steps.deployment.outputs.page_url }}

pyproject.toml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ dev = [
2020
"ezmsg-sigproc>=2.0.0",
2121
{include-group = "lint"},
2222
{include-group = "test"},
23-
{include-group = "docs"},
2423
]
2524
lint = [
2625
"ruff>=0.12.9",
@@ -46,7 +45,7 @@ perfmon = [
4645
"typer>=0.15.1",
4746
"pygtail>=0.14.0",
4847
"dash-bootstrap-components>=1.6.0",
49-
"ezmsg-sigproc>=2.0.0",
48+
"ezmsg-baseproc",
5049
]
5150
sigmon = [
5251
"pygame>=2.6.1",
@@ -86,4 +85,4 @@ select = ["E", "F", "I", "W"]
8685

8786
[tool.uv.sources]
8887
# Uncomment to use development version of ezmsg from git
89-
ezmsg = { git = "https://github.com/ezmsg-org/ezmsg.git", branch = "feature/profiling" }
88+
#ezmsg = { git = "https://github.com/ezmsg-org/ezmsg.git", branch = "feature/profiling" }

src/ezmsg/tools/perfmon/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@
2424
import pygtail
2525
from dash_extensions import Mermaid, enrich
2626

27+
from ezmsg.baseproc.util.profile import get_logger_path
2728
from ezmsg.core.graphserver import GraphService
28-
from ezmsg.sigproc.util.profile import get_logger_path
2929

3030
PAGE_SIZE = 20
3131

0 commit comments

Comments
 (0)