-
Notifications
You must be signed in to change notification settings - Fork 4
33 lines (30 loc) · 887 Bytes
/
package.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
name: PL/PRQL
on:
# schedule:
# - cron: '0 7 * * MON-FRI'
workflow_dispatch:
push:
branches:
- main
pull_request:
branches:
- main
env:
RUST_BACKTRACE: 1
CARGO_INCREMENTAL: "false"
jobs:
distro_tests:
name: Package
runs-on: ubuntu-latest
strategy:
fail-fast: false # We want all of them to run, even if one fails
matrix:
pg: [ "12" ] # ["12", "13", "14", "15", "16"]
container: [ "debian" ]
steps:
- uses: actions/checkout@v3
- name: Package PL/PRQL for PostgreSQL ${{ matrix.pg_version }} (${{ matrix.container }})
shell: bash
run: |
docker build --build-arg PG_MAJOR_VER="${{ matrix.pg_version }}" -t plprql -f ".github/docker/Dockerfile.${{ matrix.container }}" .
docker run pgrx cargo test --no-default-features --features "${{ matrix.pg_version }}"