Add SQL command to view excluded tables #23
This file contains hidden or 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: Tests | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| jobs: | |
| test: | |
| strategy: | |
| matrix: | |
| pg: [14, 15, 16, 17, 18] | |
| name: PostgreSQL ${{ matrix.pg }} | |
| runs-on: ubuntu-latest | |
| container: pgxn/pgxn-tools | |
| steps: | |
| - run: pg-start ${{ matrix.pg }} | |
| - uses: actions/checkout@v4 | |
| - name: Install extension | |
| run: | | |
| make install | |
| psql -U postgres -d postgres -c "CREATE DATABASE pg_column_tetris_test" | |
| psql -U postgres -d pg_column_tetris_test -v ON_ERROR_STOP=1 -c "CREATE EXTENSION pg_column_tetris" | |
| - name: Run tests | |
| run: | | |
| for f in test/sql/*.sql; do | |
| echo "=== Running $f ===" | |
| psql -U postgres -d pg_column_tetris_test -v ON_ERROR_STOP=1 -f "$f" | |
| echo "=== $f passed ===" | |
| done |