Skip to content

Test Build

Test Build #110

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 }}