From 378664cd658b47406ba07b9188a61ae966dcc2eb Mon Sep 17 00:00:00 2001 From: Nicolas Girardot Date: Mon, 17 Feb 2025 19:04:57 +0100 Subject: [PATCH 1/2] feat: switch to edgee action --- .github/workflows/check.yml | 12 +++++++++++- Makefile | 3 --- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index 921128b..943b0a1 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -21,10 +21,20 @@ jobs: with: python-version-file: "pyproject.toml" + - name: Install edgee + uses: edgee-cloud/install-edgee-cli@v0.1.0 + - name: Build component run: | make setup - make build-no-edgee + edgee components build + + - name: Verify .wasm file exists + run: | + if [ ! -f "./dc_component.wasm" ]; then + echo "❌ Error: dc_component.wasm not found" >&2 + exit 1 + fi - name: Test component run: | diff --git a/Makefile b/Makefile index e30e0e9..9a48bb9 100644 --- a/Makefile +++ b/Makefile @@ -19,9 +19,6 @@ setup: edgee_world ## setup development environment build: setup edgee components build -build-no-edgee: setup ## build component - uv run componentize-py --wit-path wit/ --world data-collection componentize dc_component -o dc_component.wasm - clean: ## clean build artifacts rm -rf dc_component.wasm rm -rf edgee_world From 9e2d5d8313a084b1e078e64fef9e0374994528bb Mon Sep 17 00:00:00 2001 From: Nicolas Girardot Date: Tue, 18 Feb 2025 09:52:00 +0100 Subject: [PATCH 2/2] feat: typo in readme --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index aebc094..9248bcb 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ This is an example of a Python Edgee Component. ## Setup Requirements: -- [edgee-cli] (https://github.com/edgee-cloud/edgee) +- [edgee-cli](https://github.com/edgee-cloud/edgee) - Python3 - uv