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

github.com/nextcloud/nextcloud_announcements.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNextcloud bot <bot@nextcloud.com>2022-10-15 17:49:09 +0300
committerNextcloud bot <bot@nextcloud.com>2022-10-15 17:49:09 +0300
commite42b01b6c92ecd6d8195c01cc08597efa2b44cbb (patch)
treec7f715bc9487bfa36a319fbba9b03012d8dc0376
parent46aa41383cc624c281ff3f1359c7cf08e891c760 (diff)
Updating phpunit-sqlite.yml workflow from templatefeat/workflow-auto-update-phpunit-sqlite.yml
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
-rw-r--r--.github/workflows/phpunit-sqlite.yml20
1 files changed, 18 insertions, 2 deletions
diff --git a/.github/workflows/phpunit-sqlite.yml b/.github/workflows/phpunit-sqlite.yml
index 9a86fea..f820263 100644
--- a/.github/workflows/phpunit-sqlite.yml
+++ b/.github/workflows/phpunit-sqlite.yml
@@ -7,6 +7,18 @@ name: PHPUnit
on:
pull_request:
+ paths:
+ - '.github/workflows/**'
+ - 'appinfo/**'
+ - 'lib/**'
+ - 'templates/**'
+ - 'tests/**'
+ - 'vendor/**'
+ - 'vendor-bin/**'
+ - '.php-cs-fixer.dist.php'
+ - 'composer.json'
+ - 'composer.lock'
+
push:
branches:
- main
@@ -16,6 +28,10 @@ on:
permissions:
contents: read
+concurrency:
+ group: phpunit-sqlite-${{ github.head_ref || github.run_id }}
+ cancel-in-progress: true
+
env:
# Location of the phpunit.xml and phpunit.integration.xml files
PHPUNIT_CONFIG: ./tests/phpunit.xml
@@ -27,7 +43,7 @@ jobs:
strategy:
matrix:
- php-versions: ['7.4', '8.0', '8.1']
+ php-versions: ['8.0']
server-versions: ['master']
steps:
@@ -74,7 +90,7 @@ jobs:
run: |
mkdir data
./occ maintenance:install --verbose --database=sqlite --database-name=nextcloud --database-host=127.0.0.1 --database-port=$DB_PORT --database-user=root --database-pass=rootpassword --admin-user admin --admin-pass password
- ./occ app:enable ${{ env.APP_NAME }}
+ ./occ app:enable --force ${{ env.APP_NAME }}
- name: Check PHPUnit config file existence
id: check_phpunit