Skip to content

Commit 7dfc398

Browse files
committed
testing environment config
1 parent 9892719 commit 7dfc398

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

.github/workflows/node.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
- name: Install stellar-scaffold-cli
3131
run: cargo install --git https://github.com/ahalabs/scaffold-stellar stellar-scaffold-cli
3232
- name: Build clients before building the project
33-
run: STELLAR_SCAFFOLD_ENV=development stellar-scaffold build --build-clients
33+
run: STELLAR_SCAFFOLD_ENV=testing stellar-scaffold build --build-clients
3434
- run: npm run build
3535
- name: Run tests
3636
run: npm test --if-present

environments.toml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,17 @@ default = true
2424
example_core = { client = true }
2525
example_status_message = { client = true }
2626

27+
[testing]
28+
accounts = ["me"]
29+
30+
[testing.network]
31+
rpc-url = "http://localhost:8000/rpc"
32+
network-passphrase = "Standalone Network ; February 2017"
33+
34+
[testing.contracts]
35+
example_core = { client = true }
36+
example_status_message = { client = true }
37+
2738
# List each contract individually.
2839
# `workspace = true` indicates that this project is part of the local cargo workspace.
2940
# In dev & test environments, workspace contracts will be automatically built, deployed, initialized, bound, and imported.

0 commit comments

Comments
 (0)