Skip to content

Commit

Permalink
Merge pull request #1894 from demergent-labs/scale_test_yml
Browse files Browse the repository at this point in the history
remove benchmark.yml, attempt to only include npm on release and only…
  • Loading branch information
lastmjs authored Jul 16, 2024
2 parents 93b5c56 + 3f1b3c7 commit d1bb888
Show file tree
Hide file tree
Showing 110 changed files with 14,819 additions and 2,298 deletions.
76 changes: 0 additions & 76 deletions .github/workflows/benchmark.yml

This file was deleted.

8 changes: 4 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,8 @@ jobs:
"tests/end_to_end/candid_rpc/class_syntax/stable_structures",
"tests/end_to_end/candid_rpc/class_syntax/timers",
"tests/end_to_end/candid_rpc/class_syntax/tuple_types",
"tests/end_to_end/candid_rpc/class_syntax/update"
"tests/end_to_end/candid_rpc/class_syntax/update",
"tests/end_to_end/candid_rpc/class_syntax/vanilla_js"
]
END
)
Expand All @@ -283,7 +284,6 @@ jobs:
runs-on: ${{ matrix.os }}
env:
ETHEREUM_URL: ${{ secrets.ETHEREUM_URL }}
AZLE_USE_DOCKERFILE: ${{ matrix.azle_source == 'repo' }}
AZLE_IDENTITY_STORAGE_MODE: 'plaintext'
AZLE_END_TO_END_TEST_LINK_AZLE: ${{ matrix.azle_source == 'repo' }}
strategy:
Expand All @@ -300,6 +300,8 @@ jobs:
exclude:
- include_npm: false
azle_source: npm
- include_npm: true
azle_source: repo
# If should_run_tests is false, we still want the steps of this job to execute so that check-basic-integration-tests-success will run. We do this by creating an array with one dummy element
example_directories: ${{ needs.release-candidate-deploy.outputs.should_run_tests == 'true' && fromJSON(needs.release-candidate-deploy.outputs.example_directories) || fromJSON('["dummy"]') }}
steps:
Expand All @@ -325,8 +327,6 @@ jobs:
- if: ${{ needs.release-candidate-deploy.outputs.should_run_tests && matrix.azle_source == 'repo' }}
shell: bash -l {0}
run: npm link
- if: ${{ needs.release-candidate-deploy.outputs.should_run_tests && (matrix.azle_source == 'npm' || matrix.os == 'macos-latest') }}
run: npx azle clean # We want to test the full curl download when testing from a clean install or mac
- if: ${{ needs.release-candidate-deploy.outputs.should_run_tests }}
shell: bash -l {0}
run: npm run lint
Expand Down
6 changes: 6 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@
!dfx_extension/**
!experimental/**
!http_client/**
!property_tests/arbitraries/**
!property_tests/test/**
!property_tests/visitors/**
!property_tests/are_params_correctly_ordered.ts
!property_tests/get_actor.ts
!property_tests/index.ts
!scripts/**
!src/**
!test/**
Expand Down
4 changes: 0 additions & 4 deletions bin.mjs

This file was deleted.

Loading

0 comments on commit d1bb888

Please sign in to comment.