-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
git subrepo pull (merge) external/os-autoinst-common
subrepo: subdir: "external/os-autoinst-common" merged: "db78c61" upstream: origin: "[email protected]:os-autoinst/os-autoinst-common.git" branch: "master" commit: "db78c61" git-subrepo: version: "0.4.6" origin: "???" commit: "???"
- Loading branch information
Showing
14 changed files
with
130 additions
and
46 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
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
8 changes: 2 additions & 6 deletions
8
external/os-autoinst-common/.github/workflows/perl-lint-checks.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 |
---|---|---|
@@ -1,18 +1,14 @@ | ||
--- | ||
name: 'Perl static checks' | ||
|
||
on: | ||
pull_request: | ||
push: | ||
branches: | ||
- 'master' | ||
on: [push, pull_request] | ||
|
||
jobs: | ||
perl-lint-checks: | ||
runs-on: ubuntu-latest | ||
name: "Perltidy" | ||
container: | ||
image: perldocker/perl-tester | ||
image: registry.opensuse.org/devel/openqa/containers/os-autoinst_dev | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- run: GITHUB_ACTIONS=1 ./tools/tidyall --check-only --all --quiet |
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,11 +1,7 @@ | ||
--- | ||
name: 'YAML-lint' | ||
|
||
on: | ||
pull_request: | ||
push: | ||
branches: | ||
- 'master' | ||
on: [push, pull_request] | ||
|
||
jobs: | ||
yaml-lint: | ||
|
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 = ef465670789c9b49ce0e4e1f3da61c2cc313a0e0 | ||
parent = 73b88030ec6629098e96627cc393ec735ec6727e | ||
commit = db78c615c257969eed5d71f3fcf5efe1a09d3b5c | ||
parent = 1538ee5441108a71de78c82c33921a894a3f1f9c | ||
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
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,19 @@ | ||
.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-author | ||
|
||
.PHONY: test-tidy | ||
test-tidy: | ||
tools/tidyall --all --check-only | ||
|
||
.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
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)); |