diff --git a/.github/workflows/lint.yml b/.github/workflows/lint_and_test.yml similarity index 77% rename from .github/workflows/lint.yml rename to .github/workflows/lint_and_test.yml index 042233b..5cbff21 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint_and_test.yml @@ -12,6 +12,12 @@ jobs: strategy: matrix: node-version: [16.x] + os: + [ + ["ubuntu-20.04"], + ["windows-2019"], + ["macos-11.0"], + ] steps: - uses: actions/checkout@v2 diff --git a/tests/Community/Tdarr_Plugin_ER01_Transcode audio and video with HW (PC and Mac).js b/tests/Community/Tdarr_Plugin_ER01_Transcode audio and video with HW (PC and Mac).js index e31024c..95dd855 100644 --- a/tests/Community/Tdarr_Plugin_ER01_Transcode audio and video with HW (PC and Mac).js +++ b/tests/Community/Tdarr_Plugin_ER01_Transcode audio and video with HW (PC and Mac).js @@ -24,7 +24,7 @@ const tests = [ + '6 channels - und aac \n' + '8 channels - ', }, - linux: undefined, + linux: false, }, }, { @@ -86,7 +86,7 @@ const tests = [ + '6 channels - \n' + '8 channels - ', }, - linux: undefined, + linux: false, }, }, { diff --git a/tests/helpers/run.js b/tests/helpers/run.js index 70a61bb..a11c6e0 100644 --- a/tests/helpers/run.js +++ b/tests/helpers/run.js @@ -20,7 +20,7 @@ const run = async (tests) => { expectedOutput = test.output; } - if (expectedOutput === undefined) { + if (expectedOutput === false) { // skip test due to OS // eslint-disable-next-line no-console console.log(`Test not meant to run on ${os.platform()}, skipping`);