forked from SO4-Markets/contracts
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtest.mk
More file actions
21 lines (15 loc) · 630 Bytes
/
Copy pathtest.mk
File metadata and controls
21 lines (15 loc) · 630 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Local and network-oriented test workflows.
.PHONY: test test-one test-snap testnet-smoke
test:
cargo test --workspace
test-one:
@test -n "$(PACKAGE)" || { printf '%s\n' 'Usage: make test-one PACKAGE=deposit-handler'; exit 1; }
cargo test -p "$(PACKAGE)"
test-snap:
INSTA_UPDATE=always cargo test --workspace
testnet-smoke: preflight
@test -f "$(DEPLOY_ENV)" || { printf 'Missing %s. Run make deploy-all first.\n' "$(DEPLOY_ENV)"; exit 1; }
source "$(DEPLOY_ENV)"
stellar contract invoke --id "$$ROLE_STORE" --source "$(SOURCE)" --network "$(NETWORK)" -- get_role_count
smoke-prices:
@bash scripts/submit_prices.sh