add ability to set CURLOPT_HTTPAUTH #258
Workflow file for this run
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
| # GitHub Actions for pgSQL HTTP | |
| # | |
| # Paul Ramsey <pramsey at cleverelephant dot ca> | |
| name: "CI" | |
| on: [push, pull_request] | |
| jobs: | |
| linux: | |
| name: PG ${{ matrix.pg }} | |
| runs-on: ubuntu-latest | |
| container: | |
| image: pgxn/pgxn-tools | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| pg: [15, 16, 17, 18, 19] | |
| services: | |
| httpbin: | |
| image: kennethreitz/httpbin | |
| ports: | |
| - 9080:80 | |
| steps: | |
| - name: 'Check Out' | |
| uses: actions/checkout@v6 | |
| - name: 'Start PostgreSQL ${{ matrix.pg }}' | |
| run: pg-start ${{ matrix.pg }} | |
| - name: 'Install libcurl' | |
| run: | | |
| apt-get update | |
| apt-get -y install libcurl4-gnutls-dev | |
| - name: 'Build & Install' | |
| run: | | |
| export PG_CFLAGS=-Werror | |
| make && make install | |
| - name: 'Test' | |
| run: | | |
| export PGOPTIONS="-c http.server_host=http://httpbin" | |
| PGUSER=postgres make installcheck || (cat regression.diffs && false) |