debian-koji-osbuild/test/entrypoint.sh
Christian Kellner 734d039089 test: add github test environment action
Create a github action that accepts any command with args and runs
it in a container that is prepared with all the dependencies for
koji (hub, builder, command line), so all tests, like pylint or
unit tests can run in it.
2020-09-12 16:00:54 +02:00

6 lines
83 B
Bash
Executable file

#!/bin/sh -l
set -euo pipefail
cd $GITHUB_WORKSPACE
/bin/bash -o errexit -c "$1"