Skip to content

Adding workflow for tests #5

Adding workflow for tests

Adding workflow for tests #5

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: Install compose
run: |
sudo apt install docker-compose
docker-compose --version
- name: Build Test Image
run: make build-test-image SOURCE_BRANCH=${{ github.head_ref || github.ref_name }}
- name: Run Unit and Integration Tests
run: make check-in-container SOURCE_BRANCH=${{ github.head_ref || github.ref_name }}
- name: Run Database Tests
run: make check-db SOURCE_BRANCH=${{ github.head_ref || github.ref_name }}