From 19d37a18113e8e3451473a15ea1ac702644f8907 Mon Sep 17 00:00:00 2001 From: Renato Golin Date: Tue, 18 Nov 2025 22:58:47 +0000 Subject: [PATCH] [CI] Add basic workflow for examples --- .github/workflows/examples.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/workflows/examples.yml diff --git a/.github/workflows/examples.yml b/.github/workflows/examples.yml new file mode 100644 index 0000000..9a9c63b --- /dev/null +++ b/.github/workflows/examples.yml @@ -0,0 +1,28 @@ +name: Lighthouse Examples + +on: + workflow_dispatch: + push: + pull_request: + +jobs: + Examples: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v5 + + - name: Install uv + uses: astral-sh/setup-uv@v6 + + - name: Install the project and its dependencies + run: | + uv sync + uv sync --extra ingress-torch-cpu + + - name: Run MLP From File + run: |- + uv run python/examples/ingress/torch/mlp_from_file.py + + - name: Run MLP From Module + run: |- + uv run python/examples/ingress/torch/mlp_from_model.py \ No newline at end of file