Skip to content

ci: run the unit tests - #124

Open
QuantumExplorer wants to merge 1 commit into
devashishdxt:mainfrom
QuantumExplorer:ci/run-unit-tests
Open

QuantumExplorer wants to merge 1 commit into
devashishdxt:mainfrom
QuantumExplorer:ci/run-unit-tests

Conversation

@QuantumExplorer

Copy link
Copy Markdown

Fixes #110.

Adds a Unit Tests job to test.yml that runs cargo test. It uses the same actions as the existing jobs. The unit tests run natively, so the job needs no browser and no wasm target. This job was a separate commit in #96.

Before and after

Before After
unit tests in src/ never run in CI run on every push and pull request to main

Once the PRs for #97, #99 and #103 land, this job also runs their decoder tests.

cargo test passes on main. I checked the workflow file parses; the job itself runs for the first time on this PR.

This is one of 14 PRs from the review asked for in #97. They are independent, and all 14 also merge together cleanly; with all of them merged, both browser suites (test-suite/simple and test-suite/gzip) pass.

🤖 Generated with Claude Code

No workflow ran cargo test for the crate: build.yml builds, formats and
lints for wasm32, and test.yml and gzip.yml run the browser suites. The
unit tests in src/ (the content type and base64 decoding tests) never
ran on a pull request. This adds a Unit Tests job to test.yml.

Fixes devashishdxt#110

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.

CI never runs the unit tests

1 participant