Skip to content

Adopt GitHub Actions build/test/push #2

@dev-dull

Description

@dev-dull

FYI

I'm mostly opening this issue as a signal that I intend to implement this. If you have CI/CD elsewhere, please close with comment.

Plan of action

...crap. I only realized this heading is a pun after writing it. I hate it, but being able to complain about it is funny to me, so it stays.

Write a GitHub Action Workflow that performs the following steps:

  • install requirements
  • run tests (pytest)
  • build docker image
  • Test run docker image (stretch goal: re-run tests inside container)
  • Tag+push docker image when current branch == repo default branch

Schedule workflow on a cron:

  • Identify when the base image gets updated
  • Schedule cron to run at D+1 (next day)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions