Skip to content

Commit

Permalink
feat(.github): setup redis
Browse files Browse the repository at this point in the history
  • Loading branch information
keroro520 committed Jan 7, 2025
1 parent 941e104 commit 7207a05
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/ci-build-test-reusable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,5 +57,7 @@ jobs:
- name: Build ${{ inputs.version_name }} prover
run: make build

- name: Setup Redis service
uses: shogo82148/actions-setup-redis@v1
- name: Test ${{ inputs.version_name }} prover
run: make test
4 changes: 2 additions & 2 deletions script/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -56,15 +56,15 @@ if [ -z "$1" ] || [ "$1" == "native" ]; then
cargo build ${FLAGS} -F $TASKDB
else
echo "Building native tests"
cargo test ${FLAGS} --no-run -F $TASKDB
cargo test ${FLAGS} --no-run -F $TASKDB -- --nocapture
fi
else
if [ -z "${TEST}" ]; then
echo "Running native prover"
cargo run ${FLAGS} -F $TASKDB
else
echo "Running native tests"
cargo test ${FLAGS} -F $TASKDB
cargo test ${FLAGS} -F $TASKDB -- --nocapture
fi
fi
fi
Expand Down

0 comments on commit 7207a05

Please sign in to comment.