Debug permissions #47
Workflow file for this run
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: CI | ||
on: [push, pull_request] | ||
jobs: | ||
test: | ||
strategy: | ||
matrix: | ||
pg: | ||
- 16 | ||
- 15 | ||
- 14 | ||
# versions before 14 no not support Infinity in numeric | ||
- 13 | ||
- 12 | ||
# versions before 12 have a different output format for floats (inf/Infinity, nan/NaN) | ||
- 11 | ||
- 10 | ||
name: 🐘 PostgreSQL ${{ matrix.pg }} | ||
runs-on: ubuntu-latest | ||
container: | ||
image: pgxn/pgxn-tools | ||
options: -e AS_USER=postgres | ||
steps: | ||
- name: Install extra build dependencies | ||
run: apt-get install -y liblz4-dev libipc-run-perl | ||
- name: Start PostgreSQL ${{ matrix.pg }} | ||
run: pg-start ${{ matrix.pg }} | ||
- name: Check out the repo | ||
uses: actions/checkout@v3 | ||
- name: Give build directory to postgres | ||
run: chown -R postgres: . | ||
- name: debug | ||
run: 'namei -l /__w/pg_filedump/pg_filedump/tmp_check/t_001_basic_master_data/pgdata || :' | ||
- name: Build and test on PostgreSQL ${{ matrix.pg }} | ||
run: sudo -u postgres pg-build-test |