Skip to content

Commit 8c6b21d

Browse files
Additional tests.
1 parent 5f6ded3 commit 8c6b21d

3 files changed

Lines changed: 17 additions & 2 deletions

File tree

.github/workflows/run_long_integration_tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
- name: Build
2323
run: |
2424
export PYTHONPATH=.
25-
python ./integration_tests/test_previous_builds_are_reproducible.py --selected-builds "a.1" "a.2" "a.3"
25+
python ./integration_tests/test_previous_builds_are_reproducible.py --selected-builds "a.1" "a.2" "a.3" "a.4"
2626
2727
- name: Save artifacts
2828
uses: actions/upload-artifact@v3

integration_tests/previous_builds.py

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,5 +60,20 @@ def __init__(self, name: str,
6060
"lottery-esdt": "e06b1a5c7fb71181a79e9be6b86d8ad154e5c2def4da6d2f0aa5266163823291"
6161
},
6262
docker_image="multiversx/sdk-rust-contract-builder:v5.4.0"
63+
),
64+
PreviousBuild(
65+
name="a.4",
66+
project_archive_url="https://github.com/multiversx/mx-reproducible-contract-build-example-sc/archive/refs/tags/v0.5.0-beta.0.zip",
67+
project_relative_path_in_archive="mx-reproducible-contract-build-example-sc-0.5.0-beta.0",
68+
packaged_src_url=None,
69+
contract_name=None,
70+
expected_code_hashes={
71+
"adder": "384b680df7a95ebceca02ffb3e760a2fc288dea1b802685ef15df22ae88ba15b",
72+
"multisig": "d1453017d1fcac43f3b54c390b112b37af38ae840a2464d8ff68e3981da9972d",
73+
"multisig-full": "e7fd6d118639e4b4381b3a667435948cd70f1f06b6ef39e227bd88349f7e7979",
74+
"multisig-view": "290c9b3e374dffa33649ed46bd0b626c66f933eff9437f11f3559372d7538f85",
75+
"lottery-esdt": "d4d4b6d2d797749435a4127a12d5ea16b911d6783e00cbc9faf4bace7d655c7a"
76+
},
77+
docker_image="sdk-rust-contract-builder:next"
6378
)
6479
]

integration_tests/test_project_folder_and_packaged_src_are_equivalent.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
def main(cli_args: List[str]):
1111
repository_url = "https://github.com/multiversx/mx-reproducible-contract-build-example-sc"
12-
tag = "0.4.7"
12+
tag = "0.5.0-beta.0"
1313
archve_subfolder = f"mx-reproducible-contract-build-example-sc-{tag}"
1414
project_path = download_project_repository(f"{repository_url}/archive/refs/tags/v{tag}.zip", archve_subfolder)
1515
project_path = project_path / archve_subfolder

0 commit comments

Comments
 (0)