mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2024-03-22 13:10:41 +08:00
actually run tests and set proper working directories
This commit is contained in:
parent
7cef87e856
commit
bd26972a73
8
.github/workflows/tests.yml
vendored
8
.github/workflows/tests.yml
vendored
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user