Users RPC transition #81
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }} |