CI setup#50
Conversation
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
✅ Deploy Preview for thriving-beignet-855860 ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
|
For the time being, I'd prefer to just have a basic |
|
Ok, I'll remove the bits that you deem unnecessary for now, but in seperate patches so we can easily git-revert them when the time comes. I will keep the bors compatibility for now, if that's ok. |
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
|
Thanks! Much appreciated. |
|
So, if you want to set up bors, I can help you with that if you haven't done it before. If not, I can remove the bits that are required for bors. |
|
Another thing: As far as I can see, there's no mechanism in the repository to test all that Would you be interested in a test setup that verifies that the existing |
I think keeping things simple is fine for now. I really want to emphasise the extent to which this project is just something I'm mucking around with, and it's probably going to take quite a lot of work to push to to a point where people might actually want to use (and depend) on it.
I did make a much earlier attempt at that as you mention, although it was pretty shoddy. I definitely think that having a set of tests specifically for a suite of minimal tests to catch regressions is very useful (and perhaps testing of more official examples too), but everything in That said, I want to be careful about over-testing. The language is still in flux and syntax/semantics/core/std change on virtually every commit. I think the worst thing for the project at this stage would be a situation where making a change takes 10 minutes and then fixing all of the tests to account for it takes 30 minutes. Additionally, features often get removed: for example, the language previously had anonymous sum types (union types) but I removed them because they were muddying the type checker in awkward ways. I want to reimplement them later, but it's this sort of thing that would likely become an enormous maintenance burden without much material benefit if we were to over-test things. |
Hi,
we talked about this on mastodon. So here it goes.
This is a draft, because it has to be discussed first.
What I do here is more or less the default setup for my repositories. You might not want to have some parts of this setup, I don't know.
Let me explain the individual parts and then we can discuss what you want and what you don't want:
rust-toolchain.toml(which is nightly right now)nix flake checkMore to come:
Bors setup
The workflow setup is prepared to work with bors as a mergebot.
I would strongly recommend setting up bors, as it makes merging and keeping master green so much simpler.
But of course that's totally up to you and I can remove the bors specific bits if you want me to!
Feel free to tell me what you think!
😆