Fix scoping for shadowed variables #142
Merged
Travis CI / Travis CI - Branch
succeeded
Apr 24, 2023 in 3m 52s
Build Passed
The build passed.
Details
This is a normal build for the fix/scoping branch. You should be able to reproduce it by checking out the branch locally.
Jobs and Stages
This build has four jobs, running in parallel.
Job | Python | OS | State |
---|---|---|---|
3.8 | Linux | passed | |
3.9 | Linux | passed | |
3.10 | Linux | passed | |
3.11 | Linux | passed |
Build Configuration
Build Option | Setting |
---|---|
Language | Python |
Operating System | Linux (Bionic) |
Python Versions | 3.8, 3.9, 3.10, 3.11 |
Build Configuration
{
"language": "python",
"os": [
"linux"
],
"dist": "bionic",
"python": [
"3.8",
"3.9",
"3.10",
"3.11"
],
"arch": [
"arm64"
],
"jobs": {
"fast_finish": true
},
"before_install": [
"pip install poetry"
],
"install": [
"poetry install"
],
"script": [
"black --check .",
"coverage run --source=opshin -m pytest opshin/tests",
"coverage run -a --source=opshin -m opshin eval examples/smart_contracts/assert_sum.py \"{\\\"int\\\": 4}\" \"{\\\"int\\\": 38}\" \"{\\\"constructor\\\": 6, \\\"fields\\\": []}\"\n",
"coverage run -a --source=opshin -m opshin compile examples/smart_contracts/assert_sum.py > assert_sum.uplc\n",
"coverage run -a --source=opshin -m opshin eval_uplc examples/smart_contracts/assert_sum.py \"{\\\"int\\\": 4}\" \"{\\\"int\\\": 38}\" \"{\\\"constructor\\\": 6, \\\"fields\\\": []}\"\n",
"coverage run -a --source=opshin -m opshin compile_pluto examples/smart_contracts/assert_sum.py\n",
"coverage run -a --source=opshin -m opshin build examples/smart_contracts/assert_sum.py\n",
"for i in $(find examples -type f -name \"*.py\" -not \\( -name \"broken*\" -o -name \"extract*\" \\)); do\n echo \"$i\"\n coverage run -a --source=opshin -m opshin compile \"$i\" > /dev/null\ndone\n",
"coverage run -a --source=opshin -m opshin build examples/smart_contracts/parameterized.py '{\"int\": 42}'\n",
"coverage run -a --source=opshin -m opshin build examples/smart_contracts/dual_use.py --force-three-params\n",
"coverage run -a --source=opshin -m opshin build examples/smart_contracts/wrapped_token.py '{\"bytes\": \"ae810731b5d21c0d182d89c60a1eff7095dffd1c0dce8707a8611099\"}' '{\"bytes\": \"4d494c4b\"}' '{\"int\": 1000000}' --force-three-params\n"
],
"after_success": [
"coverage report",
"coveralls"
]
}