Skip to content

Commit

Permalink
windows tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Ifropc committed Dec 13, 2024
1 parent cbd26c6 commit c04c0f5
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion .github/workflows/bindings-ts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,21 @@ jobs:
- run: cargo build
- run: rustup target add wasm32-unknown-unknown
- run: make build-test-wasms
- run: npm ci && npm run test
- run: npm ci
if: runner.os != 'windows'
working-directory: cmd/crates/soroban-spec-typescript/ts-tests
- run: |
npm ci --ignore-scripts
cargo run --quiet -p stellar-cli -- "keys generate root"
cargo run --quiet -p stellar-cli -- "keys fund root"
$contract_id=(cargo run --quiet -p stellar-cli -- "contract deploy --quiet --source root --wasm ../../../../target/wasm32-unknown-unknown/test-wasms/test_custom_types.wasm --ignore-checks")
cargo run --quiet -p stellar-cli -- contract bindings typescript --contract-id $contract_id --output-dir ./node_modules/test-custom-types --overwrite
cd ./node_modules/test-custom-types
npm install
npm run build
if: runner.os == 'windows'
working-directory: cmd/crates/soroban-spec-typescript/ts-tests
- run: npm run test
working-directory: cmd/crates/soroban-spec-typescript/ts-tests
- name: quickstart logs
if: always()
Expand Down

0 comments on commit c04c0f5

Please sign in to comment.