Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make tests pass, migrate to GitHub Actions #7

Merged
merged 2 commits into from
Sep 4, 2024
Merged

Conversation

RyanGlScott
Copy link

This PR migrates the CI from the (now-defunct) Travis CI setup to GitHub Actions. In order to make the test suite pass in this new CI setup, I also added a commit which fixes the one test suite failure (chronicled in #6).

This reverts commit 9ff9176.

Per the discussion in #6, having the `Eq` and `Ord` instances ignore the `raw`
field of `Ident` causes more trouble than it's worth, as it causes the parser
to incorrectly deem raw identifiers like `r#return` to be keywords. While we
could fix this issue by changing the parser, this would take quite a bit of
code changes to accomplish. As such, we revert the change here, and we make a
note in the Haddocks for the `Eq` and `Ord` instances to beware of the fact
that `raw` is taken into account.

After this change, the `rustc-tests` test suite passes once more. As such, this
change fixes #6.
@RyanGlScott RyanGlScott requested a review from yav September 3, 2024 13:47
Copy link
Member

@yav yav left a comment

Choose a reason for hiding this comment

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

LGTM.

@RyanGlScott RyanGlScott merged commit 20dbbec into master Sep 4, 2024
3 checks passed
@RyanGlScott RyanGlScott deleted the T5-github-actions branch September 4, 2024 17:47
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.

2 participants