Skip to content

ci: run the Julia test suite on every push and pull request - #35

Merged
hyperpolymath merged 1 commit into
mainfrom
marina/jolly-volta-lkmb1k
Nov 14, 2026
Merged

hyperpolymath merged 1 commit into
mainfrom
marina/jolly-volta-lkmb1k

Conversation

@hyperpolymath

Copy link
Copy Markdown
Owner

Summary

No CI job ran the package's own tests. The 5 existing workflows cover governance, labels, notifications and secret scanning only. This PR adds .github/workflows/julia-tests.yml, which runs Pkg.test() on every push to main, every pull request, and on demand.

This is the first step towards registering EchoTypes in General. The maintainer chose to register at the current version 0.4.0 and ask for a manual merge, because AutoMerge accepts only 0.0.1, 0.1.0 or 1.0.0 as a first version, and the repo already has v0.1.0 and v0.2.0 tags.

Changes

  • One job, matrix Julia 1.10 (the [compat] floor) and 1.12.
  • Actions pinned by commit SHA, each checked against its upstream tag with git ls-remote: actions/checkout v7.0.1, julia-actions/setup-julia v3.0.3, julia-actions/cache v3.5.0.
  • contents: read only; persist-credentials: false.

Testing

  • actionlint (v1.7.7) on the new workflow: clean.
  • Pkg.test() locally on Julia 1.11.7: passes.

Not in this PR

  • The licence note in Project.toml ("MPL-2.0 is the automatic legal fallback until PMPL…"). The maintainer chose plain MPL-2.0, and licence edits are made by hand.
  • An Agda cross-check test against echo-types, so the mirror cannot drift. It needs the Agda repository and a table generator, so it is a separate PR.
  • Merging ResidualEvidenceTypes.jl into this package: deferred until after registration.

Generated by Claude Code

No workflow ran test/runtests.jl: the 5 existing workflows cover
governance, labels, notifications and secret scanning only. Add one job
that runs Pkg.test() on Julia 1.10 (the [compat] floor) and 1.12. Actions
are pinned by commit SHA, each checked against its upstream tag
(checkout v7.0.1, setup-julia v3.0.3, cache v3.5.0). actionlint is clean,
and Pkg.test() passes locally on Julia 1.11.7.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0136P7ZnB2Fzqf8br8DGDD4k
@coderabbitai

coderabbitai Bot commented Nov 14, 2026 •

Copy link
Copy Markdown
Contributor

Explain Change →

No actionable comments were generated in the recent review.

Summary

Summary by CodeRabbit

  • Tests
    • Automated checks now run the project’s test suite for changes pushed to the main branch and for pull requests. Checks can also be started manually.
    • The test suite runs on Ubuntu with Julia 1.10 and 1.12. Runs for the same branch or pull request are kept current by cancelling an earlier run when a new one starts. Each run has a time limit.

Adds a GitHub Actions workflow that runs Pkg.test() on pushes to main, pull requests, and manual dispatches. The workflow tests Julia 1.10 and 1.12 on Ubuntu 24.04.

Changes: Julia test automation

Layer / File(s) Summary
Configure automated package tests
.github/workflows/julia-tests.yml
Adds push, pull request, and manual triggers. Runs Pkg.test() on Julia 1.10 and 1.12, with a 20-minute timeout and non-fail-fast matrix. Cancels earlier runs for the same ref and uses read-only contents permission, checkout without persisted credentials, and pinned setup and cache actions.

Estimated code review effort: 1 (Trivial) | ~5 minutes

Change: Other

Merge Risk: Minimal · up to 82e47

This adds automated Julia package tests on pushes to main, pull requests and manual runs. It does not change package behavior. Merge risk is minimal; the first CI run will confirm the Julia 1.10 and 1.12 matrix passes.

Pre-merge checks: Passed 4

Check name Status Explanation
Title check Passed The title names the main change: a new CI workflow that runs the Julia test suite on pushes and pull requests. The raw summary and objectives confirm that the PR adds .github/workflows/julia-tests.yml…
Description check Passed The description is related to the changeset. It states that no CI job ran the package tests and that the PR adds julia-tests.yml to run Pkg.test(). It lists the Julia 1.10 and 1.12 matrix, the pinned …
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title names the main change: a new CI workflow that runs the Julia test suite on pushes and pull requests. The raw summary and objectives confirm that the PR adds .github/workflows/julia-tests.yml to run Pkg.test() on pushes to main, pull requests, and manual dispatch. The title is short, specific, and uses a conventional commit prefix.

Full details: Description check

Explanation

The description is related to the changeset. It states that no CI job ran the package tests and that the PR adds julia-tests.yml to run Pkg.test(). It lists the Julia 1.10 and 1.12 matrix, the pinned action SHAs, the permissions, and the local actionlint and test results. It also names items excluded from the PR. The description goes beyond the workflow scope in places, such as registration plans, but it describes the changeset.

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: ASSERTIVE
  • Plan: Advanced
  • Run ID: 6a7bf285-3889-42bb-88e1-80f7da296c76
Commits

Reviewing files that changed from the base of the PR and between 83a2ad8 and 82e4724.

Files selected for processing: 1

  • .github/workflows/julia-tests.yml

Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.

Recent review details

Context from checks skipped due to timeout: 4

  • GitHub Check: CodeRabbit
  • GitHub Check: test (1.10)
  • GitHub Check: test (1.12)
  • GitHub Check: semgrep-cloud-platform/scan
Additional context used

zizmor (1.31.1)

.github/workflows/julia-tests.yml

[info] 17-17: workflow or action definition without a name (anonymous-definition): this job

(anonymous-definition)

@linear-code
linear-code Bot marked this pull request as ready for review November 14, 2026 16:41
@hyperpolymath
hyperpolymath merged commit 2ded186 into main Nov 14, 2026
5 checks passed
@hyperpolymath
hyperpolymath deleted the marina/jolly-volta-lkmb1k branch November 14, 2026 16:51
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.

3 participants