actually run tests and set proper working directories

This commit is contained in:
El RIDO 2020-05-31 14:42:11 +02:00
parent 7cef87e856
commit bd26972a73
No known key found for this signature in database
GPG Key ID: 0F5C940A6BD81F92
1 changed files with 7 additions and 1 deletions

View File

@ -27,6 +27,9 @@ jobs:
php-version: ${{ matrix.php-versions }} php-version: ${{ matrix.php-versions }}
extensions: gd, sqlite3 extensions: gd, sqlite3
tools: phpunit tools: phpunit
- name: Run unit tests
run: phpunit --no-coverage
working-directory: tst
Mocha: Mocha:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
@ -39,6 +42,9 @@ jobs:
- name: Setup Mocha - name: Setup Mocha
run: npm install -g mocha run: npm install -g mocha
- name: Setup Node modules - name: Setup Node modules
run: cd js && npm install run: npm install
working-directory: js
- name: Run unit tests - name: Run unit tests
run: mocha run: mocha
working-directory: js