more bash lints, update solc version inhardhat config

pull/1799/head
alpharush 2 years ago
parent da780b49e6
commit 437e0c7d66
  1. 6
      .github/scripts/integration_test_runner.sh
  2. 2
      .github/scripts/tool_test_runner.sh
  3. 2
      .github/scripts/unit_test_runner.sh
  4. 2
      tests/e2e/compilation/test_data/test_node_modules/hardhat.config.js

@ -1,12 +1,12 @@
#!/usr/bin/env bash
# setup hardhat for compilation tests
pushd tests/e2e/compilation/test_data/test_node_modules/
pushd tests/e2e/compilation/test_data/test_node_modules/ || exit
npm install hardhat
popd
popd || exit
# used to pass --cov=$path and --cov-append to pytest
pytest $1 tests/e2e/ -n auto
pytest "$1" tests/e2e/ -n auto
if [ "$1" != "" ]; then
python -m coverage report
fi

@ -2,7 +2,7 @@
npm install --global ganache
# used to pass --cov=$path and --cov-append to pytest
pytest $1 tests/tools/read-storage/test_read_storage.py
pytest "$1" tests/tools/read-storage/test_read_storage.py
if [ "$1" != "" ]; then
python -m coverage report
fi

@ -1,7 +1,7 @@
#!/usr/bin/env bash
# used to pass --cov=$path and --cov-append to pytest
pytest $1 tests/unit/
pytest "$1" tests/unit/
if [ "$1" != "" ]; then
python -m coverage report
fi

@ -1,6 +1,6 @@
module.exports = {
solidity: {
version: "0.8.0"
version: "0.8.1"
},
}

Loading…
Cancel
Save