Skip to content

Enable TAP tests

Enable TAP tests #39

Workflow file for this run

name: Test
on:
pull_request:
push:
branches:
- main
jobs:
test:
runs-on: ubuntu-latest
name: Test autoconf
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@2b51285047da1547ffb1b2203d8be4c0af6b1f20 # v3.2.0
- name: Build Dockerfile
uses: docker/build-push-action@2cdde995de11925a030ce8070c3d77a52ffcf1c0 # v5.3.0
with:
cache-from: type=gha
cache-to: type=gha,mode=max
context: .
load: true
push: false
tags: buildfarm-client:alpine
- uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2
with:
path: buildroot
key: test-alpine-autoconf
- name: Test autoconf.conf
run: |
mkdir -p buildroot
docker run --rm \
-v ./buildroot:/home/alpine \
-u "$(id -u):$(id -g)" \
buildfarm-client:alpine \
--test \
--config autoconf.conf \
--delay-check
# TODO: Remove --delay-check once this is fixed:
# https://www.postgresql.org/message-id/flat/fddd1cd6-dc16-40a2-9eb5-d7fef2101488%40technowledgy.de