Skip to content

Commit

Permalink
CI: cover the shellcheck plug-in by a test
Browse files Browse the repository at this point in the history
  • Loading branch information
lzaoral authored and kdudka committed Aug 26, 2024
1 parent 1858693 commit f765796
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
11 changes: 11 additions & 0 deletions tests/simple_build/shellcheck.fmf
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
summary: Test analysis using ShellCheck
test: ./test.sh
framework: beakerlib
environment:
TEST_PACKAGE: dracut
TEST_TOOL: shellcheck
component:
- csmock
recommend:
- csmock
duration: 1h
4 changes: 4 additions & 0 deletions tests/simple_build/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ TEST_PACKAGE="${TEST_PACKAGE:-}"
TEST_TOOL="${TEST_TOOL:-}"
TEST_USER="csmock"

# Add CS Koji
BEAKERLIB_rpm_fetch_base_url+=( "https://kojihub.stream.centos.org/kojifiles/packages/" )
BEAKERLIB_rpm_packageinfo_base_url+=( "https://kojihub.stream.centos.org/koji/" )

rlJournalStart
rlPhaseStartSetup
# use the latest csutils in the Testing Farm
Expand Down

0 comments on commit f765796

Please sign in to comment.