Skip to content

Commit

Permalink
don't parallelize jobs since returncode is ignored
Browse files Browse the repository at this point in the history
  • Loading branch information
milapsheth committed May 26, 2024
1 parent 62702ef commit be56ea5
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/codecov.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@ jobs:
- name: Add Sui binaries to PATH
run: |
echo "$(pwd)/sui-binaries" >> $GITHUB_PATH
sudo cp ./sui-binaries/sui /usr/local/bin/sui
sudo cp ./sui-binaries/sui-debug /usr/local/bin/sui-debug
- name: Checkout code
uses: actions/checkout@v4
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@ jobs:
- name: Add Sui binaries to PATH
run: |
echo "$(pwd)/sui-binaries" >> $GITHUB_PATH
sudo cp ./sui-binaries/sui /usr/local/bin/sui
sudo cp ./sui-binaries/sui-debug /usr/local/bin/sui-debug
- name: Checkout code
uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"main": "index.js",
"scripts": {
"build": "for d in ./move/*/; do cd $d; sui move build --lint --warnings-are-errors & cd ../../; done; wait",
"test": "for d in ./move/*/; do sui move test --path $d & done; wait",
"test": "for d in ./move/*/; do sui move test --path $d ; done",
"coverage": "./scripts/coverage.sh"
},
"keywords": [
Expand Down
4 changes: 1 addition & 3 deletions scripts/coverage.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,9 @@ echo 'Axelar Move Coverage Report' > .coverage.info
echo '' >> .coverage.info

for d in ./move/*/; do
"$SUI" move test --path "$d" --coverage &
"$SUI" move test --path "$d" --coverage
done

wait

for d in ./move/*/; do
echo "Generating coverage info for package $d"

Expand Down

0 comments on commit be56ea5

Please sign in to comment.