From bd26972a73d7f5d0291907393f66db6607889e85 Mon Sep 17 00:00:00 2001 From: El RIDO Date: Sun, 31 May 2020 14:42:11 +0200 Subject: [PATCH] actually run tests and set proper working directories --- .github/workflows/tests.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 8fd8fb5..3af3c00 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -27,6 +27,9 @@ jobs: php-version: ${{ matrix.php-versions }} extensions: gd, sqlite3 tools: phpunit + - name: Run unit tests + run: phpunit --no-coverage + working-directory: tst Mocha: runs-on: ubuntu-latest steps: @@ -39,6 +42,9 @@ jobs: - name: Setup Mocha run: npm install -g mocha - name: Setup Node modules - run: cd js && npm install + run: npm install + working-directory: js - name: Run unit tests run: mocha + working-directory: js +