Skip to content

Commit

Permalink
use mainnet version for coverage action
Browse files Browse the repository at this point in the history
  • Loading branch information
milapsheth committed May 26, 2024
1 parent 64a185d commit 62702ef
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/codecov.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ concurrency:
cancel-in-progress: true

env:
SUI_VERSION: devnet-v1.25.0
SUI_VERSION: mainnet-v1.25.1

jobs:
coverage:
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ jobs:
wget https://github.com/MystenLabs/sui/releases/download/${SUI_VERSION}/sui-${SUI_VERSION}-ubuntu-x86_64.tgz
tar -xvf sui-${SUI_VERSION}-ubuntu-x86_64.tgz
mkdir -p sui-binaries
mv ./target/release/sui-ubuntu-x86_64 ./sui-binaries/sui
mv ./sui ./sui-binaries/sui
mv ./sui-debug ./sui-binaries/sui
rm -rf sui-${SUI_VERSION}-ubuntu-x86_64.tgz
- name: Add Sui binaries to PATH
Expand Down
2 changes: 1 addition & 1 deletion scripts/coverage.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
export SUI=sui-debug

# Check if sui-debug is available
if ! type "$SUI" >/dev/null 2>&1; then
if ! which "$SUI" >/dev/null 2>&1; then
echo "sui-debug not found. Setting SUI to ./sui/target/debug/sui."

# Default to a local Sui build
Expand Down

0 comments on commit 62702ef

Please sign in to comment.