-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[twin] tesuite for twin into own crate (#306)
Co-authored-by: xyz <xyz> Co-authored-by: 0o-de-lally <[email protected]>
- Loading branch information
1 parent
74ab91c
commit 79d4c54
Showing
70 changed files
with
36,575 additions
and
1,023 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -238,6 +238,12 @@ jobs: | |
run: | | ||
echo "Main last commit has [breaking]: ${{ env.hasBreakingCommit }}" | ||
- name: delete fixtures and force rebuild | ||
working-directory: ./framework/src/upgrade_fixtures/fixtures | ||
run: | | ||
rm -rf upgrade-* | ||
RUST_MIN_STACK=104857600 cargo t -- make_the_upgrade_fixtures --include-ignored | ||
- name: upgrade - check workflow | ||
if: always() | ||
working-directory: ./upgrade-tests | ||
|
@@ -289,3 +295,20 @@ jobs: | |
working-directory: ./tools/storage | ||
# TODO: not testing the V6 file parsing | ||
run: cargo test --no-fail-fast e2e_ | ||
|
||
twin-testsuite: | ||
timeout-minutes: 60 | ||
needs: [build-framework] | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: setup env | ||
uses: ./.github/actions/build_env | ||
|
||
- uses: Swatinem/[email protected] | ||
with: | ||
shared-key: "libra-framework" | ||
cache-all-crates: true | ||
- name: twin | ||
working-directory: ./testsuites/twin | ||
run: cargo test --no-fail-fast |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 13 additions & 0 deletions
13
framework/src/upgrade_fixtures/fixtures/upgrade-multi-lib-force/1-move-stdlib/Move.toml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
[package] | ||
name = 'upgrade_scripts' | ||
version = '1.0.0' | ||
authors = [] | ||
license = '' | ||
|
||
[addresses] | ||
|
||
[dev-addresses] | ||
[dependencies.LibraFramework] | ||
local = '/Users/lucas/code/rust/libra-framework/framework/libra-framework' | ||
|
||
[dev-dependencies] |
Binary file added
BIN
+11.6 KB
framework/src/upgrade_fixtures/fixtures/upgrade-multi-lib-force/1-move-stdlib/script.mv
Binary file not shown.
1 change: 1 addition & 0 deletions
1
framework/src/upgrade_fixtures/fixtures/upgrade-multi-lib-force/1-move-stdlib/script_sha3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
b7ed52a7612abd9bd633cb8c2f307b1316c39454f6753d3f8fe40f4f2f8bbdf9 |
Oops, something went wrong.