feat: handle content and lines differently #27
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: Test with systemd containers | |
on: | |
pull_request: | |
push: | |
tags: | |
- v* | |
workflow_dispatch: | |
inputs: | |
jobs: | |
ubuntu-test: | |
name: Run remote config test with Ubuntu systemd container | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Build image | |
run: podman image build -t fup:ubuntu -f tests/image/Dockerfile.ubuntu . | |
- name: Provision in the image | |
run: | | |
container=$(podman container run --name ubuntu --rm -d fup:ubuntu) | |
podman container exec -ti $container bash -c 'curl -L fcd.url.lol/u | bash -' | |
fedora-test: | |
name: Run remote config test with Fedora systemd container | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Build image | |
run: podman image build -t fup:fedora -f tests/image/Dockerfile.fedora . | |
- name: Provision in the image | |
run: | | |
container=$(podman container run --name fedora --rm -d fup:fedora) | |
podman container exec -ti $container bash -c 'curl -L fcd.url.lol/u | bash -' |