Skip to content

Commit 94bbe9d

Browse files
singalsugolowanow
authored andcommitted
Test-case: check-audio-equalizer: Add shellcheck source line
This addition helps shellcheck to find the test cases library and should avoid plenty of warnings printed. Also the shellcheck and pylint runs-on are updated to Ubuntu 24.04 in Github workflow. Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
1 parent 927e190 commit 94bbe9d

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/pull_request.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ on: [pull_request, workflow_dispatch]
1919
jobs:
2020

2121
shellcheck:
22-
runs-on: ubuntu-22.04
22+
runs-on: ubuntu-24.04
2323
steps:
2424
- uses: actions/checkout@v4
2525
with:
@@ -32,7 +32,7 @@ jobs:
3232
text/x-shellscript shellcheck -x
3333

3434
pylint:
35-
runs-on: ubuntu-22.04
35+
runs-on: ubuntu-24.04
3636
steps:
3737
# :-( https://github.community/t/support-for-yaml-anchors/16128
3838
- uses: actions/checkout@v4

test-case/check-audio-equalizer.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ set -e
1818

1919
# source from the relative path of current folder
2020
my_dir=$(dirname "${BASH_SOURCE[0]}")
21+
# shellcheck source=case-lib/lib.sh
2122
source "$my_dir"/../case-lib/lib.sh
2223

2324
OPT_NAME['t']='tplg' OPT_DESC['t']="tplg file, default value is env TPLG: $TPLG"

0 commit comments

Comments
 (0)