Delete lockfile on exit signals and on startup #110
Workflow file for this run
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: Integration test | |
on: | |
pull_request: | |
types: [opened, synchronize, reopened] | |
jobs: | |
shellcheck: | |
if: (!contains(github.event.head_commit.message, 'skip ci')) | |
name: Shell check | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install shellcheck | |
env: | |
DEBIAN_FRONTEND: noninteractive | |
run: sudo apt install -y shellcheck | |
- name: shellcheck | |
run: | | |
shellcheck -s bash --exclude=SC2181 --exclude=SC2230 --exclude=SC2086 scripts/start.sh | |
shellcheck -s bash --exclude=SC2181 --exclude=SC2230 --exclude=SC2086 --exclude=SC2001 scripts/wrapper.sh | |
shellcheck -s bash --exclude=SC2181 --exclude=SC2230 scripts/azdump.sh | |
shellcheck -s bash --exclude=SC2181 --exclude=SC2230 --exclude=SC2086 scripts/pgdump.sh | |
build: | |
if: (!contains(github.event.head_commit.message, 'skip ci')) | |
name: Build | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
distro: [ fedora, opensuse, debian, ubuntu ] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Docker Buildx | |
uses: docker/setup-buildx-action@v3 | |
- name: Build Docker Image | |
run: | | |
cp dockerfile-${{matrix.distro}}/Dockerfile . | |
docker build ${{github.workspace}} | |