Debug permissions #46
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: Start PostgreSQL ${{ matrix.pg }} | |
run: pg-start ${{ matrix.pg }} | |
- name: Create build user | |
run: 'sudo useradd -u $(id -u) build || [ $? = 9 ]' | |
- name: Check out the repo | |
uses: actions/checkout@v3 | |
- name: Install extra build dependencies | |
run: sudo apt-get install -y liblz4-dev libipc-run-perl | |
- 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: PATH=$PATH:/usr/lib/postgresql/${{ matrix.pg }}/bin pg-build-test |