Skip to content

Adding workflow for tests #1

Adding workflow for tests

Adding workflow for tests #1

Workflow file for this run

name: Tests
on:
pull_request:
push:
branches:
- main
jobs:
tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Build Test Image
# Build the test image locally so all subsequent steps use the fresh code.
run: make build-test-image
- name: Run Unit and Integration Tests
# Runs pytest on tests/unit and tests/integration inside the container
run: make check-in-container
- name: Run Database Tests
# Spins up postgres/redis via docker-compose and runs tests_openshift/database
run: make check-db