feat: set appname for pg_stat_activity entry #425
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: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
pg-version: ['12', '13', '14', '15', '16', '17'] | |
steps: | |
- uses: actions/checkout@v1 | |
- uses: cachix/install-nix-action@v18 | |
with: | |
nix_path: nixpkgs=channel:nixos-unstable | |
- name: Run pytest tests | |
run: nix-shell --run "net-with-nginx net-with-pg-${{ matrix.pg-version }} python -m pytest -vv" | |
#- name: Check C files are formatted | |
#run: nix-shell --run "net-check-format" | |
test-on-macos: | |
runs-on: macos-13 | |
strategy: | |
matrix: | |
pg-version: ['17'] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: cachix/install-nix-action@v30 | |
with: | |
nix_path: nixpkgs=channel:nixos-unstable | |
- name: Run tests | |
run: nix-shell --run "net-with-nginx net-with-pg-${{ matrix.pg-version }} python -m pytest -vv" |