diff --git a/.github/workflows/perl.yaml b/.github/workflows/perl.yaml new file mode 100644 index 0000000..bd02a9f --- /dev/null +++ b/.github/workflows/perl.yaml @@ -0,0 +1,15 @@ +--- +name: Perl authortests + +on: [push, pull_request] + +jobs: + authortests: + runs-on: ubuntu-latest + name: Perl + container: + image: registry.opensuse.org/devel/openqa/containers/os-autoinst_dev + steps: + - uses: actions/checkout@v4 + - run: git config --global --add safe.directory '*' + - run: prove xt diff --git a/xt/01-make-update-deps.t b/xt/01-make-update-deps.t index d6a5e7a..db88a95 100755 --- a/xt/01-make-update-deps.t +++ b/xt/01-make-update-deps.t @@ -22,6 +22,7 @@ my $rc = $?; die "Could not run $make_cmd: rc=$rc, out: @out" if $rc; my @status = grep { not m/^\?/ } qx{git -C "$Bin/.." status --porcelain}; +is $?, 0, 'git status exit code 0'; ok(!@status, "No changed files after '$make_cmd'") or diag @status; done_testing;