Skip to content
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Run phpunit from correct folder
Signed-off-by: Côme Chilliet <[email protected]>
  • Loading branch information
come-nc committed Jan 26, 2023
commit dc28cb77a40b6812fa6e199c5ecac1794e8afa3c
7 changes: 6 additions & 1 deletion .github/workflows/oci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,11 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: composer i
run: |
composer i
composer require --dev phpunit/phpunit

- name: Set up Nextcloud
run: |
mkdir data
Expand All @@ -47,7 +52,7 @@ jobs:

- name: PHPUnit
working-directory: tests
run: phpunit --configuration phpunit-autotest.xml --group DB,SLOWDB
run: ../lib/composer/bin/phpunit --configuration phpunit-autotest.xml --group DB,SLOWDB

summary:
permissions:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/phpunit-mysql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ jobs:

- name: PHPUnit
working-directory: tests
run: ../vendor/bin/phpunit --configuration phpunit-autotest.xml --group DB,SLOWDB
run: ../lib/composer/bin/phpunit --configuration phpunit-autotest.xml

summary:
runs-on: ubuntu-latest
Expand Down