Kaizen Today I Learned by Ville Säävuori

Posts tagged githubactions

Ignore Github Actions Runner Version With Renovate

I bumped into a obscure Spatialite error when running tests against SQLite Spatialite database with Pytest in GitHub actions. Turns out the Ubuntu 22.04 runner has upgraded some related packages in a way that is not compatible with GeoDjango SQLite. I didn’t want to spend too much time as this is just in CI and the dev and prod uses morerecent packages that don’t have this issue.

· Read the full article →

Using Docker Compose In GitHub Actions

Running non-trivial Django applications in CI (for example e2e testing purposes) has always been a big painpoint for me. For some reason using Docker Compose never even occured to me until yesterday when I saw an example of it in the wild. Few hours later I had converted one of my own projects and it workd great.

· Read the full article →

Weeknotes 2022/13 - Tweaking GitHub Actions

I’ve been working a lot with GitHub Actions lately. Ever since GitLab totally fucked up their pricing model I’ve been slowly moving my projects from GitLab to GitHub, and now I’m in a place where I’m trying to homogenize the action pipelines as much as possible. Last week I added a native code coverage job that doesn’t depend on any third-party service.

· Read the full article →

Code Coverage Using GitHub Actions

I like using GitLab because it has so much of the everyday developer tooling integrated right into the product. Nowadays GitHub Actions are powerful enough to do many of the same things, including code coverage. Most projects on GitHub use external services like Codecov for code coverage reporting. I don’t have the budget for these external services and I’m not interested in setting up and maintaining different solutions based on the publicity or the organization of the project so I decided to write a native solution using Github Actions instead.

· Read the full article →