Bump pgloader minor version and add checks #145
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: Debian Autopkgtest | |
on: | |
pull_request: {} | |
push: {} | |
jobs: | |
debian-build: | |
# focal is too old, use jammy | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Install postgresql-common | |
run: sudo apt-get install -y postgresql-common | |
- name: Install pgapt repository | |
run: sudo /usr/share/postgresql-common/pgdg/apt.postgresql.org.sh -y | |
- name: Install build-dependencies | |
run: sudo apt-get build-dep -y . | |
- name: Build pgloader.deb | |
run: dpkg-buildpackage --no-sign --buildinfo-option=--version -b | |
- name: Install autopkgtest | |
run: sudo apt-get install -y autopkgtest | |
- name: Autopkgtest | |
run: sudo autopkgtest ./ ../pgloader_*_amd64.deb -- null |