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

Improve CI #78

Merged
merged 3 commits into from
Jul 13, 2023
Merged

Improve CI #78

merged 3 commits into from
Jul 13, 2023

Conversation

waywardmonkeys
Copy link
Contributor

No description provided.

Copy link
Contributor

@Philipp-M Philipp-M left a comment

Choose a reason for hiding this comment

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

Apart from the one comment LGTM. Thanks.

.github/workflows/rust.yml Outdated Show resolved Hide resolved
@waywardmonkeys
Copy link
Contributor Author

I've got other things I want to add to this ... but having it as a draft lets it get early review (like now) as well as make sure the pieces work as they get written.

@Philipp-M
Copy link
Contributor

Philipp-M commented Jul 8, 2023

Yeah I get this, but I think generally it's better/easier (to review) to just have small "atomic" changes if possible in PRs (sometimes it's not, or it's overhead for everyone involved...), so I would suggest splitting changes in separate PRs

@waywardmonkeys waywardmonkeys force-pushed the improve-ci branch 2 times, most recently from c3384ae to ec4526a Compare July 8, 2023 15:14
@richard-uk1
Copy link
Contributor

Thanks for working on this - it would be good if we could find a way for the CI to catch problems like #82 , which I think should be possible. Once things are a bit more settled I'd like to write some tests.

@Philipp-M
Copy link
Contributor

it would be good if we could find a way for the CI to catch problems like #82

I doubt that this is possible without a few tests, as it's a runtime error.

Setting up good E2E tests would probably be the best for finding such issues (using something like playwright) but this requires quite some work I think.

@waywardmonkeys waywardmonkeys marked this pull request as ready for review July 12, 2023 16:49
@waywardmonkeys
Copy link
Contributor Author

Let's say this is ready for review now and further work on improving CI can happen.

This can't be merged at the moment as it will fail until another PR is landed to fix a formatting issue recently introduced.

@waywardmonkeys waywardmonkeys mentioned this pull request Jul 12, 2023
@Philipp-M
Copy link
Contributor

Have you tried what I've commented? (Don't have to, I will open a follow-up PR otherwise and check, if that's working)

@waywardmonkeys
Copy link
Contributor Author

I did not yet. That's part of why I haven't just gone and merged this. :)

@waywardmonkeys waywardmonkeys merged commit 8556c0d into linebender:main Jul 13, 2023
@waywardmonkeys waywardmonkeys deleted the improve-ci branch July 13, 2023 16:36
@Philipp-M
Copy link
Contributor

Philipp-M commented Jul 13, 2023

Well my addition hasn't regressed this, but it hasn't helped that much either^^ Seems like clippy and rustfmt is default anyway...

But it probably doesn't matter much, it shouldn't really add much time on CI

@waywardmonkeys
Copy link
Contributor Author

Ah, you're right. They are both included in the minimal profile. Ah well. Maybe I'll revisit it once we can enable clippy checks...

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