Skip to content

CI: add job to run tests under minimum supported rust version (msrv)#11737

Merged
charliermarsh merged 2 commits intoastral-sh:mainfrom
MichaelOultram-pexip:msrv
Jun 4, 2024
Merged

CI: add job to run tests under minimum supported rust version (msrv)#11737
charliermarsh merged 2 commits intoastral-sh:mainfrom
MichaelOultram-pexip:msrv

Conversation

@MichaelOultram-pexip
Copy link
Copy Markdown
Contributor

@MichaelOultram-pexip MichaelOultram-pexip commented Jun 4, 2024

Summary

This change adds a GitHub Actions CI job to check that the project builds and test pass under the declared minimum supported rust compiler. I have bumped the msrv to 1.74 as that is the lowest version I could get this project to build on.

Test Plan

The CI job has run on this PR, and will also run on the main branch.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Jun 4, 2024

ruff-ecosystem results

Linter (stable)

✅ ecosystem check detected no linter changes.

Linter (preview)

✅ ecosystem check detected no linter changes.

Formatter (stable)

✅ ecosystem check detected no format changes.

Formatter (preview)

✅ ecosystem check detected no format changes.

Copy link
Copy Markdown
Member

@charliermarsh charliermarsh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, this makes sense to me.

@charliermarsh charliermarsh merged commit 2c86502 into astral-sh:main Jun 4, 2024
@charliermarsh charliermarsh added internal An internal refactor or improvement ci Related to internal CI tooling and removed internal An internal refactor or improvement labels Jun 4, 2024
carljm added a commit that referenced this pull request Jun 4, 2024
* main:
  CI: add job to run tests under minimum supported rust version (msrv) (#11737)
  Lexer should consider BOM for the start offset (#11732)
  Use cursor offset for lexer checkpoint (#11734)
  red-knot: Change `resolve_global_symbol` to take `Module` as an argument (#11723)
  red-knot: Use `parse_unchecked` to get all parse errors (#11725)
  Respect per-file ignores for blanket and redirected noqa rules (#11728)
  [`pygrep_hooks`] Check blanket ignores via file-level pragmas (`PGH004`) (#11540)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci Related to internal CI tooling

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants