-
Notifications
You must be signed in to change notification settings - Fork 207
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
subrepo: subdir: "external/os-autoinst-common" merged: "5d4b825ae" upstream: origin: "[email protected]:os-autoinst/os-autoinst-common.git" branch: "master" commit: "19057a06c" git-subrepo: version: "0.4.6" origin: "???" commit: "???" Signed-off-by: ybonatakis <[email protected]>
- Loading branch information
Showing
10 changed files
with
120 additions
and
26 deletions.
There are no files selected for viewing
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
14 changes: 14 additions & 0 deletions
14
external/os-autoinst-common/.github/workflows/perl-author-tests.yml
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
--- | ||
name: 'Perl author tests' | ||
|
||
on: [push, pull_request] | ||
|
||
jobs: | ||
perl-author-tests: | ||
runs-on: ubuntu-latest | ||
name: Perl author tests | ||
container: | ||
image: registry.opensuse.org/devel/openqa/containers/os-autoinst_dev | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- run: make test-author |
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,7 @@ | |
[subrepo] | ||
remote = [email protected]:os-autoinst/os-autoinst-common.git | ||
branch = master | ||
commit = e167bdf2bccb043d658da0cda7e63472ef6bff85 | ||
commit = 19057a06c228f0b557242611f237507f9fd87ae3 | ||
parent = da302936978e4d59020d8463bdd2b16d4f241c17 | ||
method = merge | ||
cmdver = 0.4.6 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,27 @@ | ||
.PHONY: help | ||
help: | ||
@echo Call one of the available targets: | ||
@sed -n 's/\(^[^.#[:space:]A-Z]*\):.*$$/\1/p' Makefile | uniq | ||
|
||
.PHONY: update-deps | ||
update-deps: | ||
tools/update-deps --cpanfile cpanfile | ||
|
||
.PHONY: test | ||
test: test-tidy test-critic test-yaml test-author | ||
|
||
.PHONY: test-tidy | ||
test-tidy: | ||
tools/tidyall --all --check-only | ||
|
||
.PHONY: test-critic | ||
test-critic: | ||
tools/perlcritic --quiet . | ||
|
||
.PHONY: test-yaml | ||
test-yaml: | ||
yamllint --strict ./ | ||
|
||
.PHONY: test-author | ||
test-author: | ||
prove -l -r xt/ |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#!/usr/bin/perl | ||
# Copyright SUSE LLC | ||
# SPDX-License-Identifier: GPL-2.0-or-later | ||
|
||
use Test::Most; | ||
use Test::Code::TidyAll; | ||
tidyall_ok(); |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# Copyright SUSE LLC | ||
# SPDX-License-Identifier: GPL-2.0-or-later | ||
|
||
use Test::Most; | ||
# We need :no_end_test here because otherwise it would output a no warnings | ||
# test for each of the modules, but with the same test number | ||
use Test::Warnings qw(:no_end_test :report_warnings); | ||
use FindBin; | ||
use lib "$FindBin::Bin/lib"; | ||
use OpenQA::Test::TimeLimit '400'; | ||
|
||
use Test::Strict; | ||
|
||
push @Test::Strict::MODULES_ENABLING_STRICT, 'Test::Most'; | ||
push @Test::Strict::MODULES_ENABLING_WARNINGS, 'Test::Most'; | ||
|
||
$Test::Strict::TEST_SYNTAX = 1; | ||
$Test::Strict::TEST_STRICT = 1; | ||
$Test::Strict::TEST_WARNINGS = 1; | ||
all_perl_files_ok(qw(lib tools xt)); |