Skip to content

Create GitHub actions to test new code before merging #24

@demilolu

Description

@demilolu

Background on the problem the feature will solve/improved user experience

Add GitHub Actions to test and build new code pushed to a branch or committed to a pull request. Code that passes all the steps in the GitHub action can be merged in the repository.

Prerequisite: This should be installed after we start adding python code to this repo.

Describe the solution you'd like

A GitHub action runs whenever code is committed to any branch or PR is made to the main branch.

Each action will

  • install dependencies
  • build for production
  • run all tests
  • linting, we haven't chosen a linter so let's discuss options in the comments

Tasks

  • Ensure install, build and lint steps run locally on your system
  • Read more about GitHub actions, in the Build and Test section
  • Create GitHub actions for each folder described above. You can read more Python build actions here.
  • Commit and push your GitHub action code.
  • Go to the Actions tab to see if it worked.

Acceptance Criteria

  • GitHub action runs for every new code commit and PR.

FYI @upkarlidder

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions