Skip to content

Commit

Permalink
Merge pull request #1212 from demergent-labs/1210_more_examples
Browse files Browse the repository at this point in the history
Updated more examples to new syntax
  • Loading branch information
bdemann authored Sep 11, 2023
2 parents dae1ed9 + 3bfdc21 commit fc20797
Show file tree
Hide file tree
Showing 41 changed files with 1,033 additions and 2,415 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,13 +81,11 @@
# "examples/update"

# These are the ones that don't work
# "examples/timers",
# "examples/tuple_types",
# "examples/stable_structures",
# "examples/service",
# "examples/outgoing_http_requests",
# "examples/pre_and_post_upgrade",
# "examples/rejections",
# "examples/robust_imports",
# "examples/run_time_errors",
# "examples/rust_type_conversions",
Expand All @@ -98,15 +96,11 @@
# "examples/func_types",
# "examples/generics",
# "examples/guard_functions",
# "examples/ic_api",
# "examples/inline_types",
# "examples/motoko_examples/http_counter",
# "examples/motoko_examples/persistent-storage",
# "examples/motoko_examples/phone-book",
# "examples/motoko_examples/simple-to-do",
# "examples/motoko_examples/superheroes",
# "examples/motoko_examples/threshold_ecdsa",
# "examples/motoko_examples/whoami",

name: Azle Tests
on:
Expand Down Expand Up @@ -164,6 +158,7 @@ jobs:
"examples/cycles",
"examples/date",
"examples/heartbeat",
"examples/ic_api",
"examples/imports",
"examples/init",
"examples/inspect_message",
Expand All @@ -179,17 +174,22 @@ jobs:
"examples/motoko_examples/hello",
"examples/motoko_examples/hello-world",
"examples/motoko_examples/minimal-counter-dapp",
"examples/motoko_examples/phone-book",
"examples/motoko_examples/quicksort",
"examples/motoko_examples/simple-to-do",
"examples/motoko_examples/whoami",
"examples/notify_raw",
"examples/null_example",
"examples/optional_types",
"examples/primitive_types",
"examples/principal",
"examples/query",
"examples/randomness",
"examples/rejections",
"examples/simple_erc20",
"examples/simple_user_accounts",
"examples/stable_memory",
"examples/timers",
"examples/update"
]
END
Expand Down
4 changes: 2 additions & 2 deletions examples/ic_api/dfx.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"type": "custom",
"build": "npx azle ic_api",
"root": "src",
"ts": "src/ic_api.ts",
"candid": "src/ic_api.did",
"ts": "src/index.ts",
"candid": "src/index.did",
"wasm": ".azle/ic_api/ic_api.wasm.gz",
"declarations": {
"output": "test/dfx_generated/ic_api",
Expand Down
Loading

0 comments on commit fc20797

Please sign in to comment.