test_session_record_pipe_io_stdin: remove sshpass #34
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 tests | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
fedora-build: | |
runs-on: ubuntu-latest | |
env: | |
IMAGE: fedora-img | |
CONTAINER: fedora-container | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Build the Docker image | |
run: sudo -E XDG_RUNTIME_DIR= podman build . --file Dockerfile.fedora --tag ${IMAGE} | |
- name: Run the container | |
run: sudo podman run --privileged --security-opt seccomp=unconfined --detach -p 80:80 --name=${CONTAINER} ${IMAGE} | |
- name: Check the container is up | |
run: sudo podman ps | |
- name: Setup ./configure | |
run: sudo podman exec ${CONTAINER} autoreconf -if | |
- name: Configure | |
run: sudo podman exec ${CONTAINER} ./configure --disable-dependency-tracking --prefix=/usr --sysconfdir=/etc --localstatedir=/var | |
- name: Make dist | |
run: sudo podman exec ${CONTAINER} make dist | |
- name: Build and Install the RPM | |
run: sudo podman exec ${CONTAINER} sh -c 'rpmbuild -tb *tar.gz && dnf install -y ~/rpmbuild/RPMS/x86_64/tlog*' | |
- name: Integration tests setup | |
run: sudo podman exec -e CONTAINER_ENV=true ${CONTAINER} ./src/tlitest/tlitest-setup | |
- name: Run tests | |
# Hostnames test won't work in a container | |
run: sudo podman exec -t ${CONTAINER} ./src/tlitest/tlitest-run -k "not hostnames" |