From 817c956666f0866fc6666601a71363d1f7dc5e0a Mon Sep 17 00:00:00 2001 From: Philipp Hancke Date: Wed, 19 Oct 2022 17:10:15 +0200 Subject: [PATCH] test: change interop test to run mocha instead of mocha npm script since package.json contains a "mocha" script/task this was running this task with the usual tests done on every PR instead of the actually intended interop tests. Also removes the on-push trigger --- .github/workflows/interop-tests.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/interop-tests.yml b/.github/workflows/interop-tests.yml index 429e67df7..3a2e284ae 100644 --- a/.github/workflows/interop-tests.yml +++ b/.github/workflows/interop-tests.yml @@ -1,7 +1,6 @@ on: schedule: - cron: "30 5 * * *" - push: jobs: interop: runs-on: ubuntu-latest @@ -19,4 +18,4 @@ jobs: - run: BROWSER=${{matrix.browserA}} BVER=${{matrix.bver}} ./node_modules/travis-multirunner/setup.sh - run: BROWSER=${{matrix.browserB}} BVER=${{matrix.bver}} ./node_modules/travis-multirunner/setup.sh - run: Xvfb :99 & - - run: BROWSER_A=${{matrix.browserA}} BROWSER_B=${{matrix.browserB}} BVER=${{matrix.bver}} DISPLAY=:99.0 npm run mocha test/interop/connection.js + - run: BROWSER_A=${{matrix.browserA}} BROWSER_B=${{matrix.browserB}} BVER=${{matrix.bver}} DISPLAY=:99.0 node_modules/.bin/mocha test/interop/connection.js