Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update cuzz and fix small issue #2323

Open
wants to merge 42 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
42 commits
Select commit Hold shift + click to select a range
2258cf6
update cuzz and fix small issue
lastmjs Dec 13, 2024
7de632d
update cuzz
lastmjs Dec 14, 2024
0cb1cb8
Merge branch 'main' of github.com:demergent-labs/azle into updating_cuzz
lastmjs Dec 14, 2024
bd23f1d
updating cuzz
lastmjs Dec 14, 2024
dac3d74
exclude some fuzz directories, update cuzz to fiz nat and skip issues
lastmjs Dec 16, 2024
27e68df
update cuzz
lastmjs Dec 16, 2024
267859b
updating cuzz to try a new min and max for floats with Infinity and -…
lastmjs Dec 16, 2024
4cc31d2
update cuzz to fix cycles issue
lastmjs Dec 16, 2024
2936ea8
change some cuzz.json files
lastmjs Dec 16, 2024
f89bc53
fix a yaml typo and update cuzz for better maximums on nat and int
lastmjs Dec 16, 2024
d512ac3
add clear console
lastmjs Dec 16, 2024
8fd3adf
update cuzz to use regular expressions
lastmjs Dec 16, 2024
268f42b
create universal Rust target directory
lastmjs Dec 17, 2024
0a89315
set cuzz.json files back in preparation for major test overhaul merge:
lastmjs Dec 17, 2024
796fdde
Merge branch 'main' of github.com:demergent-labs/azle into updating_cuzz
lastmjs Dec 17, 2024
95b83be
add new cuzz files
lastmjs Dec 17, 2024
3544d3a
fix the fuzz exclusions
lastmjs Dec 17, 2024
9913121
fix fuzz yaml paths
lastmjs Dec 17, 2024
3f1de88
update cuzz, fix some cuzz.json file
lastmjs Dec 17, 2024
f5e7e57
update cuzz.json files
lastmjs Dec 17, 2024
a234d94
attempting to specify the canister methods
lastmjs Dec 18, 2024
4b7ec54
update many cuzz.json files to use regex
lastmjs Dec 18, 2024
cb48abd
add some more cuzz.json files
lastmjs Dec 18, 2024
6e7b55b
push up many cuzz.json fixes for update calls
lastmjs Dec 18, 2024
c66ec6b
update many cuzz.json files
lastmjs Dec 18, 2024
b0f601f
update many cuzz.json files
lastmjs Dec 18, 2024
a3385c2
updating many cuzz.json files
lastmjs Dec 19, 2024
73a20e8
updating cuzz.json
lastmjs Dec 19, 2024
7da8059
updating various cuzz.json files
lastmjs Dec 19, 2024
a6b2277
updating many cuzz.json
lastmjs Dec 19, 2024
47d8b24
add more cuzz.json files
lastmjs Dec 19, 2024
e24a9e3
updating cuzz.json
lastmjs Dec 19, 2024
8f3f2e9
add hopefully last management_canister change, update stable structur…
lastmjs Dec 19, 2024
4b0bb7b
updating cuzz with its own time limit
lastmjs Dec 20, 2024
ebc17ca
update some cuzz and package
lastmjs Dec 20, 2024
aae54d1
attempt to exclude unstable and release dirs from fuzz test workflow …
lastmjs Dec 20, 2024
993d892
typo
lastmjs Dec 20, 2024
8724bdd
update fuzz tests
lastmjs Dec 20, 2024
4ed3ad5
hopefully final stable structures cuzz.json upgrade
lastmjs Dec 20, 2024
d570d0f
fix stable structure and ledger canister cuzz.json issues
lastmjs Dec 20, 2024
7ad6b45
update cuzz attempt to fix stable structures
lastmjs Dec 20, 2024
aa4190f
Merge branch 'main' of github.com:demergent-labs/azle into updating_cuzz
lastmjs Dec 20, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 29 additions & 7 deletions .github/workflows/fuzz.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,32 +8,54 @@ on:
required: false
type: string
default: '.1'
timeout:
time-limit:
description: 'Length of time (in minutes) after which the fuzz tests will automatically succeed'
required: false
type: string
default: '300'

jobs:
get-exclude-dirs:
name: Get exclude directories
runs-on: ubuntu-latest
outputs:
exclude-dirs: ${{ steps.get-exclude-dirs.outputs.exclude-dirs }}
steps:
- uses: actions/checkout@v4
- id: get-exclude-dirs
uses: ./.github/actions/get_exclude_dirs
with:
exclude-slow: false
exclude-unstable: true
exclude-release-only: true

run-tests:
name: ${{ matrix.test_group.name }}
needs: get-exclude-dirs
strategy:
fail-fast: false
matrix:
test_group:
- {
name: 'E2E Class',
directories: './tests/end_to_end/candid_rpc/class_syntax'
name: 'Stable E2E CRPC',
directories: './examples/stable/test/end_to_end/candid_rpc'
}
- {
name: 'Property IC API',
directories: './tests/property/ic_api'
name: 'Stable Property IC API',
directories: './examples/stable/test/property/ic_api'
}
uses: ./.github/workflows/run_test.yml
with:
directories: ${{ matrix.test_group.directories }}
exclude-dirs: class_syntax/new
exclude-dirs: >-
stable/test/end_to_end/candid_rpc/new
stable/test/end_to_end/candid_rpc/ethereum_json_rpc
stable/test/end_to_end/candid_rpc/motoko_examples/superheroes
stable/test/end_to_end/candid_rpc/outgoing_http_requests
stable/test/end_to_end/candid_rpc/recursion
stable/test/end_to_end/candid_rpc/tuple_types
${{ needs.get-exclude-dirs.outputs.exclude-dirs }}
fuzz: true
call-delay: ${{ inputs.call-delay }}
timeout: ${{ inputs.timeout }}
time-limit: ${{ inputs.time-limit }}
link-azle: true
13 changes: 3 additions & 10 deletions .github/workflows/run_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ on:
required: false
type: string
default: '.1'
timeout:
time-limit:
required: false
type: string
default: '300'
Expand Down Expand Up @@ -157,15 +157,7 @@ jobs:
echo "runs=$RUNS" >> $GITHUB_OUTPUT

- name: Run tests
run: |
timeout ${{ inputs.timeout }}m npm test
exit_code=$?
if [ $exit_code -eq 124 ] || [ $exit_code -eq 142 ]; then
# Exit code 124 is for timeout, 142 is for SIGALRM
exit 0
else
exit $exit_code
fi
run: npm test
working-directory: ${{ matrix.test.path }}
shell: bash -l {0}
env:
Expand All @@ -174,3 +166,4 @@ jobs:
AZLE_EXPERIMENTAL: ${{ inputs.run-experimental }}
AZLE_FUZZ: ${{ inputs.fuzz }}
AZLE_FUZZ_CALL_DELAY: ${{ inputs.call-delay }}
AZLE_FUZZ_TIME_LIMIT: ${{ inputs.time-limit }}
Binary file modified canister_templates/stable.wasm
Binary file not shown.
Loading
Loading