-
Notifications
You must be signed in to change notification settings - Fork 102
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
Initial attempt at GitHub Actions based CI. #199
Commits on Nov 13, 2024
-
Add an Earthfile for use with earthly.
<https://earthly.dev> is an open source (MPL-2.0) project for defining and executing builds using containers. It meets a lot of the same needs as the Vagrant boxes that are in this project using containers rather than VMs. The advantage of pairing this with GitHub Actions is that it allows maintainers and contributors to reproduce test results locally which is very difficult when using GitHub Actions natively. stdeb interacts with a lot of system-level utilities so having convenient testing across multiple supported distributions is highly valuable.
Configuration menu - View commit details
-
Copy full SHA for f934acc - Browse repository at this point
Copy the full SHA f934accView commit details -
Initial attempt at GitHub Actions based CI using Earthly
Since we have the earthly configuration for local testing, we may as well use it for GitHub Actions as well. Use the matrix support to pass the OS build argument to Earthly. Keep platforms that aren't working yet disabled.
Configuration menu - View commit details
-
Copy full SHA for 80df492 - Browse repository at this point
Copy the full SHA 80df492View commit details -
* Use python3 for running packaging tests. * Update version of psycopg2 used for tests. I got build failures on bullseye with the earlier version but success with this last one (the psycopg project apparently returned to the psycopg module for v3).
Configuration menu - View commit details
-
Copy full SHA for 747ff5c - Browse repository at this point
Copy the full SHA 747ff5cView commit details -
Right now this only sets a preferred line-length limit. It's possible this will be folded into a pyproject.toml as part of other updates to the project.
Configuration menu - View commit details
-
Copy full SHA for cd4c3bc - Browse repository at this point
Copy the full SHA cd4c3bcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3008073 - Browse repository at this point
Copy the full SHA 3008073View commit details -
Remove old test configuration files.
Travis CI has long since stopped providing value to open source projects and I believe that the Earthly builds cover the same local testing niche as the Vagrant files, which I was not able to successful update. If another maintainer or contributor wants to restore the Vagrant support I will help as I can, but I don't have a working vagrant provider locally.
Configuration menu - View commit details
-
Copy full SHA for bd733ba - Browse repository at this point
Copy the full SHA bd733baView commit details -
Split a function for copying sources.
Avoid copying in .git and other unecessary files by specifying source files explicitly. To make this slightly less unfun factor it into a function.
Configuration menu - View commit details
-
Copy full SHA for 1c52e88 - Browse repository at this point
Copy the full SHA 1c52e88View commit details -
Only run 2and3 tests on platforms that have Python 2 and 3.
With the addition of #203, a missing Python 2 binary will raise an error instead of assuming that the binary is called `python`. As a result, this test script now fails on platforms where no Python 2 installation is available.
Configuration menu - View commit details
-
Copy full SHA for 5ce765f - Browse repository at this point
Copy the full SHA 5ce765fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9e7333a - Browse repository at this point
Copy the full SHA 9e7333aView commit details
Commits on Nov 14, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 4edf6f3 - Browse repository at this point
Copy the full SHA 4edf6f3View commit details