Skip to content

feat: switch to edgee action #7

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Feb 18, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 11 additions & 1 deletion .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,20 @@ jobs:
with:
python-version-file: "pyproject.toml"

- name: Install edgee
uses: edgee-cloud/[email protected]

- 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: |
Expand Down
3 changes: 0 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down