Skip to content

ci: run test:unit on merge gate, drop live-Testnet integration tests (main)#43

Merged
AquiGorka merged 1 commit into
mainfrom
ci/drop-live-testnet-main
Jul 8, 2026
Merged

ci: run test:unit on merge gate, drop live-Testnet integration tests (main)#43
AquiGorka merged 1 commit into
mainfrom
ci/drop-live-testnet-main

Conversation

@AquiGorka

Copy link
Copy Markdown
Contributor

What

Change the Test workflow's test step from deno task test to deno task test:unit, so the merge gate runs only the deterministic unit suite and no longer executes the live-Testnet *.integration.test.ts tests on push/PR.

This ports the effect of #40 (merged to dev) to main. main and dev share the same relevant structure here: the gate runs deno task test (everything, including integration), and main's deno.json already defines a test:unit task that ignores **/*.integration.test.ts.

Why

deno task test runs everything, including *.integration.test.ts against the live public Stellar Testnet. Those tests depend on real network ops (e.g. uploading contract WASM) that transiently fail — a flaky merge gate that validates the network, not the code.

Scope

  • .github/workflows/test.yml: deno task test -> deno task test:unit. Lint and coverage steps unchanged; test:unit produces the same coverage dir the coverage step consumes.
  • test:integration task retained in deno.json for on-demand/manual runs — not deleted or modified.
  • deno.json patch bump 0.11.1 -> 0.11.2.

Verification (local, deno 2.9.0)

  • deno fmt --check — clean (105 files).
  • deno lint — clean (96 files).
  • deno task test:unit17 passed (199 steps) | 0 failed; zero integration tests executed.
  • Coverage step generates coverage.lcov from the test:unit coverage dir.

Change the Test workflow's test step from `deno task test` to
`deno task test:unit`, so the merge gate runs only the deterministic
unit suite and no longer executes the live-Testnet
`*.integration.test.ts` tests on push/PR.

The live-Testnet integration tests depend on real network ops (e.g.
uploading contract WASM) that transiently fail, validating the network
rather than the code. The test:integration task is retained in
deno.json for on-demand runs.

deno.json patch bump 0.11.1 -> 0.11.2.
@codecov

codecov Bot commented Jul 8, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@AquiGorka AquiGorka merged commit b0762f7 into main Jul 8, 2026
2 checks passed
@AquiGorka AquiGorka deleted the ci/drop-live-testnet-main branch July 8, 2026 18:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant