Skip to content

feat: handle content and lines differently #26

feat: handle content and lines differently

feat: handle content and lines differently #26

Workflow file for this run

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 -'