Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/privacy.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCôme Chilliet <come.chilliet@nextcloud.com>2022-04-04 17:51:31 +0300
committerCôme Chilliet <come.chilliet@nextcloud.com>2022-04-05 10:00:55 +0300
commite555ac0e9fdc43cd12d21b8722def1b580d07b84 (patch)
tree2a8c9dce54dce012eaab179dda4900d8bbcbc6bf
parentf0daec0f9c2352153e1c718c2e302e6c44026212 (diff)
Improve naming and fix working dir
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
-rw-r--r--.github/workflows/phpunit-mysql.yml16
-rw-r--r--.github/workflows/phpunit-oci.yml16
-rw-r--r--.github/workflows/phpunit-pgsql.yml16
-rw-r--r--.github/workflows/phpunit-sqlite.yml16
4 files changed, 32 insertions, 32 deletions
diff --git a/.github/workflows/phpunit-mysql.yml b/.github/workflows/phpunit-mysql.yml
index 8de46aa..4531215 100644
--- a/.github/workflows/phpunit-mysql.yml
+++ b/.github/workflows/phpunit-mysql.yml
@@ -76,27 +76,27 @@ jobs:
./occ app:enable --force ${{ env.APP_NAME }}
php -S localhost:8080 &
- - name: Check file existence
- id: check_files
+ - name: Check PHPUnit config file existence
+ id: check_phpunit
uses: andstor/file-existence-action@v1
with:
- files: ${{ env.PHPUNIT_CONFIG }}
+ files: apps/${{ env.APP_NAME }}/${{ env.PHPUNIT_CONFIG }}
- name: PHPUnit
# Only run if phpunit config file exists
- if: steps.check_files.outputs.files_exists == 'true'
+ if: steps.check_phpunit.outputs.files_exists == 'true'
working-directory: apps/${{ env.APP_NAME }}
run: ./vendor/phpunit/phpunit/phpunit -c ${{ env.PHPUNIT_CONFIG }}
- - name: Check integration file existence
- id: check_files_integration
+ - name: Check PHPUnit integration config file existence
+ id: check_integration
uses: andstor/file-existence-action@v1
with:
- files: ${{ env.PHPUNIT_INTEGRATION_CONFIG }}
+ files: apps/${{ env.APP_NAME }}/${{ env.PHPUNIT_INTEGRATION_CONFIG }}
- name: PHPUnit integration
# Only run if phpunit integration config file exists
- if: steps.check_files_integration.outputs.files_exists == 'true'
+ if: steps.check_integration.outputs.files_exists == 'true'
working-directory: apps/${{ env.APP_NAME }}
run: ./vendor/phpunit/phpunit/phpunit -c ${{ env.PHPUNIT_INTEGRATION_CONFIG }}
diff --git a/.github/workflows/phpunit-oci.yml b/.github/workflows/phpunit-oci.yml
index acad23c..390c50e 100644
--- a/.github/workflows/phpunit-oci.yml
+++ b/.github/workflows/phpunit-oci.yml
@@ -68,27 +68,27 @@ jobs:
./occ app:enable --force ${{ env.APP_NAME }}
php -S localhost:8080 &
- - name: Check file existence
- id: check_files
+ - name: Check PHPUnit config file existence
+ id: check_phpunit
uses: andstor/file-existence-action@v1
with:
- files: ${{ env.PHPUNIT_CONFIG }}
+ files: apps/${{ env.APP_NAME }}/${{ env.PHPUNIT_CONFIG }}
- name: PHPUnit
# Only run if phpunit config file exists
- if: steps.check_files.outputs.files_exists == 'true'
+ if: steps.check_phpunit.outputs.files_exists == 'true'
working-directory: apps/${{ env.APP_NAME }}
run: ./vendor/phpunit/phpunit/phpunit -c ${{ env.PHPUNIT_CONFIG }}
- - name: Check integration file existence
- id: check_files_integration
+ - name: Check PHPUnit integration config file existence
+ id: check_integration
uses: andstor/file-existence-action@v1
with:
- files: ${{ env.PHPUNIT_INTEGRATION_CONFIG }}
+ files: apps/${{ env.APP_NAME }}/${{ env.PHPUNIT_INTEGRATION_CONFIG }}
- name: PHPUnit integration
# Only run if phpunit integration config file exists
- if: steps.check_files_integration.outputs.files_exists == 'true'
+ if: steps.check_integration.outputs.files_exists == 'true'
working-directory: apps/${{ env.APP_NAME }}
run: ./vendor/phpunit/phpunit/phpunit -c ${{ env.PHPUNIT_INTEGRATION_CONFIG }}
diff --git a/.github/workflows/phpunit-pgsql.yml b/.github/workflows/phpunit-pgsql.yml
index 513a127..09894e4 100644
--- a/.github/workflows/phpunit-pgsql.yml
+++ b/.github/workflows/phpunit-pgsql.yml
@@ -73,27 +73,27 @@ jobs:
./occ app:enable --force ${{ env.APP_NAME }}
php -S localhost:8080 &
- - name: Check file existence
- id: check_files
+ - name: Check PHPUnit config file existence
+ id: check_phpunit
uses: andstor/file-existence-action@v1
with:
- files: ${{ env.PHPUNIT_CONFIG }}
+ files: apps/${{ env.APP_NAME }}/${{ env.PHPUNIT_CONFIG }}
- name: PHPUnit
# Only run if phpunit config file exists
- if: steps.check_files.outputs.files_exists == 'true'
+ if: steps.check_phpunit.outputs.files_exists == 'true'
working-directory: apps/${{ env.APP_NAME }}
run: ./vendor/phpunit/phpunit/phpunit -c ${{ env.PHPUNIT_CONFIG }}
- - name: Check integration file existence
- id: check_files_integration
+ - name: Check PHPUnit integration config file existence
+ id: check_integration
uses: andstor/file-existence-action@v1
with:
- files: ${{ env.PHPUNIT_INTEGRATION_CONFIG }}
+ files: apps/${{ env.APP_NAME }}/${{ env.PHPUNIT_INTEGRATION_CONFIG }}
- name: PHPUnit integration
# Only run if phpunit integration config file exists
- if: steps.check_files_integration.outputs.files_exists == 'true'
+ if: steps.check_integration.outputs.files_exists == 'true'
working-directory: apps/${{ env.APP_NAME }}
run: ./vendor/phpunit/phpunit/phpunit -c ${{ env.PHPUNIT_INTEGRATION_CONFIG }}
diff --git a/.github/workflows/phpunit-sqlite.yml b/.github/workflows/phpunit-sqlite.yml
index 2c8979c..5992ce2 100644
--- a/.github/workflows/phpunit-sqlite.yml
+++ b/.github/workflows/phpunit-sqlite.yml
@@ -62,27 +62,27 @@ jobs:
./occ app:enable --force ${{ env.APP_NAME }}
php -S localhost:8080 &
- - name: Check file existence
- id: check_files
+ - name: Check PHPUnit config file existence
+ id: check_phpunit
uses: andstor/file-existence-action@v1
with:
- files: ${{ env.PHPUNIT_CONFIG }}
+ files: apps/${{ env.APP_NAME }}/${{ env.PHPUNIT_CONFIG }}
- name: PHPUnit
# Only run if phpunit config file exists
- if: steps.check_files.outputs.files_exists == 'true'
+ if: steps.check_phpunit.outputs.files_exists == 'true'
working-directory: apps/${{ env.APP_NAME }}
run: ./vendor/phpunit/phpunit/phpunit -c ${{ env.PHPUNIT_CONFIG }}
- - name: Check integration file existence
- id: check_files_integration
+ - name: Check PHPUnit integration config file existence
+ id: check_integration
uses: andstor/file-existence-action@v1
with:
- files: ${{ env.PHPUNIT_INTEGRATION_CONFIG }}
+ files: apps/${{ env.APP_NAME }}/${{ env.PHPUNIT_INTEGRATION_CONFIG }}
- name: PHPUnit integration
# Only run if phpunit integration config file exists
- if: steps.check_files_integration.outputs.files_exists == 'true'
+ if: steps.check_integration.outputs.files_exists == 'true'
working-directory: apps/${{ env.APP_NAME }}
run: ./vendor/phpunit/phpunit/phpunit -c ${{ env.PHPUNIT_INTEGRATION_CONFIG }}