diff options
author | Nextcloud bot <bot@nextcloud.com> | 2022-10-15 17:34:29 +0300 |
---|---|---|
committer | Nextcloud bot <bot@nextcloud.com> | 2022-10-15 17:34:29 +0300 |
commit | f38ba0968513dccf1fe2c08c9d0c75a5c938a1a8 (patch) | |
tree | 06814e04b39ff663b0439945a26dd5dec43673fe | |
parent | 41b9c85246357586e25a6840675ae1889a868052 (diff) |
Updating phpunit-sqlite.yml workflow from template
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
-rw-r--r-- | .github/workflows/phpunit-sqlite.yml | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/.github/workflows/phpunit-sqlite.yml b/.github/workflows/phpunit-sqlite.yml index 0ca0a25..f820263 100644 --- a/.github/workflows/phpunit-sqlite.yml +++ b/.github/workflows/phpunit-sqlite.yml @@ -28,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 @@ -86,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 |