Skip to content

refactor: add implicit_iterator function #67

refactor: add implicit_iterator function

refactor: add implicit_iterator function #67

Workflow file for this run

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@v4
with:
submodules: true
- uses: cachix/install-nix-action@v18
with:
nix_path: nixpkgs=channel:nixos-unstable
- name: Run tests
run: nix-shell --run "nxpg-${{ matrix.pg-version }} nxpg-tmp nxpg-test"
- if: ${{ failure() }}
run: |
cat regression.out
cat regression.diffs
coverage:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: true
- uses: cachix/install-nix-action@v18
with:
nix_path: nixpkgs=channel:nixos-unstable
- name: Run coverage
run: nix-shell --run "nxpg-16 nxpg-tmp nxpg-coverage"
- name: Send coverage to Coveralls
uses: coverallsapp/[email protected]
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
files: ./coverage.info
style:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: true
- uses: cachix/install-nix-action@v18
with:
nix_path: nixpkgs=channel:nixos-unstable
- name: Run style check
run: nix-shell --run "nxpg-style-check"