Skip to content

Add CI to ensure script is always tested and working #202

@agilgur5

Description

@agilgur5

Motivation

It would be great to add Continuous Integration (CI) to the repo to ensure the script and all PRs to it are tested and confirmed working. GitHub Actions would be the easiest/most straightforward way to do that on GH.

I'm not sure if the entire script would be possible to test/compatible with GitHub Actions, but if you can run a SteamOS VM, I would think most, if not all, would work.

Alternatively, could test portions of the script (would need to split some things up) on GHA.

This would also fulfill the OpenSSF Scorecard Check for "CI-Tests"

Implementation Details

  1. MVP would be to just ensure the script exits with a zero exit code and no errors
  2. Could further add some tests against the filesystem or certain commands with bats or similar tools
  3. Could have a matrix to test compatibility against different SteamOS versions or versions of other used code

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions