Skip to content

Create install.yml

Create install.yml #21

Workflow file for this run

name: PL/PRQL
on:
push:
branches:
- main
pull_request:
branches:
- main
env:
CARGO_TERM_COLOR: always
RUST_BACKTRACE: 1
CARGO_INCREMENTAL: "false"
jobs:
Test:
strategy:
matrix:
os: [ubuntu-latest]
pg: ["12", "13", "14", "15", "16"]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- name: Install cargo-pgrx
run: cargo install --locked --version=0.11.2 cargo-pgrx --debug --force
- name: Init pgrx
run: cargo pgrx init --pg${{ matrix.pg }} download
- name: Run tests
run: cargo test --package plprql --lib plprql::tests --features pg${{ matrix.pg }} --no-default-features