Skip to content

Commit

Permalink
put in hopefully try fix for azle new
Browse files Browse the repository at this point in the history
  • Loading branch information
lastmjs committed Jun 12, 2024
1 parent d9fa72a commit fac05d1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ jobs:
run: npm link azle
- if: ${{ needs.release-candidate-deploy.outputs.should_run_tests }}
working-directory: ${{ matrix.example_directories }}
run: node_modules/.bin/azle install-dfx-extension
run: npx azle install-dfx-extension
- if: ${{ needs.release-candidate-deploy.outputs.should_run_tests }}
working-directory: ${{ matrix.example_directories }}
run: dfx start --clean --background --host 127.0.0.1:8000
Expand Down
4 changes: 4 additions & 0 deletions examples/new/test/pretest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ async function pretest() {
stdio: 'inherit'
});

execSync(`npx -y azle@${version} install-dfx-extension`, {
stdio: 'inherit'
});

execSync(`cd hello_world && dfx canister uninstall-code backend || true`, {
stdio: 'inherit'
});
Expand Down

0 comments on commit fac05d1

Please sign in to comment.