Skip to content

Commit

Permalink
chore: bats test should use make prod
Browse files Browse the repository at this point in the history
  • Loading branch information
eval-exec committed Aug 11, 2023
1 parent 1cb06af commit 69a7766
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci_integration_tests_ubuntu.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ jobs:
- uses: actions/checkout@v3
- name: build ckb and run bats cli test
run: |
make build
make prod
make cli-test
shell: bash
env:
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ doc-test: ## Run doc tests
cargo test --all --doc

.PHONY: cli-test
cli-test: build # Run ckb command line usage bats test
cli-test: prod # Run ckb command line usage bats test
./util/app-config/src/tests/cli_test.sh

.PHONY: test
Expand Down
2 changes: 1 addition & 1 deletion util/app-config/src/tests/cli_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ function cleanup {

trap cleanup EXIT

cp target/release/ckb ${CKB_BATS_TESTBED}
cp target/prod/ckb ${CKB_BATS_TESTBED}
cp util/app-config/src/tests/*.bats ${CKB_BATS_TESTBED}
cp -r util/app-config/src/tests/later_bats_job ${CKB_BATS_TESTBED}
cp util/app-config/src/tests/*.sh ${CKB_BATS_TESTBED}
Expand Down

0 comments on commit 69a7766

Please sign in to comment.