-
-
Notifications
You must be signed in to change notification settings - Fork 182
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
Replace travis with github actions #142
Comments
@merwok it is already in my intentions to switch from travis to GitHub actions. I saw that there is something to use tox in the GitHub action to avoid the matrix duplication. If you can do it, I really appreciate it and then propagate it to all other django packages. |
There’s tox-gh-actions which works in many cases but has some issues (so I didn’t use it in the project I linked): I think a strategy could be to use the matrix config to list all testenvs that are wanted, and remove them from tox config. The |
@merwok in the end I used |
@merwok after the migration from TravisCI to GitHub actions, coverage reports are no more uploaded to codecov, have you any idea of what the cause could be? |
I’ve only used codecov indirectly in companies, don’t have it for my personal projects. The workflow file does not use a codecov action, so it would make sense that data is not uploaded 🙂 |
@merwok FYI I published an action for defining a matrix like the following one directly in the GitHub workflow: https://github.com/marketplace/actions/create-matrix-action
Any feedback/contribution is appreciated. |
I like the idea of using strings to define matrix lines! (Minor feedback: |
The Probably it is possible to avoid the json file creation and set the script output directly to and How can I set the variable value with the file content without using |
GitHub Actions don’t have to save everything in env vars like other CI systems, they have the nice For |
I compute the matrix json in the action |
If the script prints its output to stdout with the right |
@merwok done: https://github.com/marketplace/actions/create-matrix-action Thank you for the feedback and the tips. |
Ah that’s great! Thank you for making that action! |
I quite like it! https://github.com/caravancoop/configstore/runs/5495913834 Wonder if something can be done to make the docker image pre-built (22s to build now) |
Maybe caching the output matrix using the matrix input as key? |
@merwok have you found a way to cache the docker image / output matrix? |
Haven’t had the opportunity to look at it. |
Most projects have left Travis because of the management issues.
It seems that tests for PRs here are not run any more.
I could convert the config to github actions (example conversions from circleci: caravancoop/configstore#47)
The text was updated successfully, but these errors were encountered: