Skip to content

Add scenario testing framework, initial test #97

Add scenario testing framework, initial test

Add scenario testing framework, initial test #97

Workflow file for this run

name: Test Build
on: [pull_request, merge_group]
jobs:
build_tests:
name: Build mathesar
runs-on: ubuntu-latest
strategy:
matrix:
target: [production, development]
steps:
- uses: actions/checkout@v4
- name: Copy env file
run: cp .env.example .env
# The code is checked out under uid 1001 - reset this to 1000 for the
# container to run tests successfully
- name: Fix permissions
run: sudo chown -R 1000:1000 .
- name: Build the stack
run: docker compose -f docker-compose.dev.yml up --build -d test-service
env:
TARGET: ${{ matrix.target }}