Skip to content

Create GitHub Action to Run Lambda Tests #79

@nourshoreibah

Description

@nourshoreibah

User Story

As a BRANCH dev, I want to make sure my code works

Overview

Create a GitHub Actions pipeline that runs jest tests on all lambda functions

Acceptance Criteria

  • Create the workflow file in .github folder
  • Make the check required in GitHub terraform workspace

Pipeline high level:

  1. Gets a PSQL server running using either built in GHA services or manually
  2. Bootstraps the DB (creates user, tables, seed data, etc)
  3. If changes to the backend, runs npm run test on every lambda function folder (with node)

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions