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

Initial attempt at GitHub Actions based CI. #199

Merged
merged 10 commits into from
Nov 14, 2024
Merged

Commits on Nov 13, 2024

  1. 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.
    nuclearsandwich committed Nov 13, 2024
    Configuration menu
    Copy the full SHA
    f934acc View commit details
    Browse the repository at this point in the history
  2. 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.
    nuclearsandwich committed Nov 13, 2024
    Configuration menu
    Copy the full SHA
    80df492 View commit details
    Browse the repository at this point in the history
  3. Update test scripts.

    * 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).
    nuclearsandwich committed Nov 13, 2024
    Configuration menu
    Copy the full SHA
    747ff5c View commit details
    Browse the repository at this point in the history
  4. Add ruff configuration file.

    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.
    nuclearsandwich committed Nov 13, 2024
    Configuration menu
    Copy the full SHA
    cd4c3bc View commit details
    Browse the repository at this point in the history
  5. Update README badge.

    nuclearsandwich committed Nov 13, 2024
    Configuration menu
    Copy the full SHA
    3008073 View commit details
    Browse the repository at this point in the history
  6. 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.
    nuclearsandwich committed Nov 13, 2024
    Configuration menu
    Copy the full SHA
    bd733ba View commit details
    Browse the repository at this point in the history
  7. 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.
    nuclearsandwich committed Nov 13, 2024
    Configuration menu
    Copy the full SHA
    1c52e88 View commit details
    Browse the repository at this point in the history
  8. 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.
    nuclearsandwich committed Nov 13, 2024
    Configuration menu
    Copy the full SHA
    5ce765f View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    9e7333a View commit details
    Browse the repository at this point in the history

Commits on Nov 14, 2024

  1. Configuration menu
    Copy the full SHA
    4edf6f3 View commit details
    Browse the repository at this point in the history