on: [push] jobs: test: runs-on: docker container: options: "--hostname customname" steps: - run: | test -f /srv/example-config-options-volume-valid - run: | ! test -f /srv/example-config-options-volume-invalid - run: | test "$FROB" = "NITZ" - run: | test "$(cat /etc/hostname)" = customname