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 running the tests locally fun #982

Open
t4lz opened this issue Jan 23, 2023 · 1 comment
Open

Make running the tests locally fun #982

t4lz opened this issue Jan 23, 2023 · 1 comment
Labels
enhancement New feature or request tests

Comments

@t4lz
Copy link
Member

t4lz commented Jan 23, 2023

Our test suite is currently not very friendly to run locally. You have to build a lot of little test applications.
This leads to most of us just relying on GitHub actions to run tests, which probably slows down our work.

Building the tests apps should be automated, and the same automation should be used to build the test apps in the CI.
That way our ci.yaml would become a lot more concise, and also the automated building would be guaranteed to remain up-to-date.

Building the test apps could maybe be part of running the tests, like in:


Or maybe it's possible to do it in a build script that runs when we execute the tests if any files changed.
At the very least, we could have a bash script that builds all the test apps.

After automating building the test apps, if that step is not transparent, we should document it everywhere a new contributor might look for it.

@t4lz t4lz added enhancement New feature or request tests labels Jan 23, 2023
@aviramha
Copy link
Member

I suggest using the xtask pattern / https://github.com/jondot/xtaskops

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request tests
Projects
None yet
Development

No branches or pull requests

2 participants