mirror of
https://github.com/nextcloud/server.git
synced 2026-05-25 02:34:12 -04:00
Bumps the github-actions group with 7 updates: | Package | From | To | | --- | --- | --- | | [dorny/paths-filter](https://github.com/dorny/paths-filter) | `3.0.2` | `4.0.1` | | [shivammathur/setup-php](https://github.com/shivammathur/setup-php) | `2.36.0` | `2.37.0` | | [github/codeql-action](https://github.com/github/codeql-action) | `4.32.4` | `4.35.1` | | [actions/setup-node](https://github.com/actions/setup-node) | `6.2.0` | `6.3.0` | | [cypress-io/github-action](https://github.com/cypress-io/github-action) | `7.1.5` | `7.1.9` | | [codecov/codecov-action](https://github.com/codecov/codecov-action) | `5.5.2` | `6.0.0` | | [LizardByte/actions](https://github.com/lizardbyte/actions) | `2026.227.200013` | `2026.328.161128` | Updates `dorny/paths-filter` from 3.0.2 to 4.0.1 - [Release notes](https://github.com/dorny/paths-filter/releases) - [Changelog](https://github.com/dorny/paths-filter/blob/master/CHANGELOG.md) - [Commits](de90cc6fb3...fbd0ab8f3e) Updates `shivammathur/setup-php` from 2.36.0 to 2.37.0 - [Release notes](https://github.com/shivammathur/setup-php/releases) - [Commits](44454db4f0...accd6127cb) Updates `github/codeql-action` from 4.32.4 to 4.35.1 - [Release notes](https://github.com/github/codeql-action/releases) - [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md) - [Commits](89a39a4e59...c10b8064de) Updates `actions/setup-node` from 6.2.0 to 6.3.0 - [Release notes](https://github.com/actions/setup-node/releases) - [Commits](6044e13b5d...53b83947a5) Updates `cypress-io/github-action` from 7.1.5 to 7.1.9 - [Release notes](https://github.com/cypress-io/github-action/releases) - [Changelog](https://github.com/cypress-io/github-action/blob/master/CHANGELOG.md) - [Commits](bc22e01685...783cb3f079) Updates `codecov/codecov-action` from 5.5.2 to 6.0.0 - [Release notes](https://github.com/codecov/codecov-action/releases) - [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md) - [Commits](671740ac38...57e3a136b7) Updates `LizardByte/actions` from 2026.227.200013 to 2026.328.161128 - [Release notes](https://github.com/lizardbyte/actions/releases) - [Commits](70bb8d394d...0affa4f7bc) --- updated-dependencies: - dependency-name: dorny/paths-filter dependency-version: 4.0.1 dependency-type: direct:production update-type: version-update:semver-major dependency-group: github-actions - dependency-name: shivammathur/setup-php dependency-version: 2.37.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: github-actions - dependency-name: github/codeql-action dependency-version: 4.35.1 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: github-actions - dependency-name: actions/setup-node dependency-version: 6.3.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: github-actions - dependency-name: cypress-io/github-action dependency-version: 7.1.9 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: github-actions - dependency-name: codecov/codecov-action dependency-version: 6.0.0 dependency-type: direct:production update-type: version-update:semver-major dependency-group: github-actions - dependency-name: LizardByte/actions dependency-version: 2026.328.161128 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: github-actions ... Signed-off-by: dependabot[bot] <support@github.com>
116 lines
3.6 KiB
YAML
116 lines
3.6 KiB
YAML
# SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors
|
|
# SPDX-License-Identifier: MIT
|
|
name: Litmus integration tests
|
|
on:
|
|
pull_request:
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
concurrency:
|
|
group: integration-litmus-${{ github.head_ref || github.run_id }}
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
changes:
|
|
runs-on: ubuntu-latest-low
|
|
|
|
outputs:
|
|
src: ${{ steps.changes.outputs.src}}
|
|
|
|
steps:
|
|
- uses: dorny/paths-filter@fbd0ab8f3e69293af611ebaee6363fc25e6d187d # v4.0.1
|
|
id: changes
|
|
continue-on-error: true
|
|
with:
|
|
filters: |
|
|
src:
|
|
- '.github/workflows/**'
|
|
- '3rdparty/**'
|
|
- '**/*.php'
|
|
- '**/lib/**'
|
|
- '**/tests/**'
|
|
- '**/vendor-bin/**'
|
|
- 'build/integration/**'
|
|
- '.php-cs-fixer.dist.php'
|
|
- 'composer.json'
|
|
- 'composer.lock'
|
|
|
|
integration-litmus:
|
|
runs-on: ubuntu-latest
|
|
needs: changes
|
|
|
|
if: needs.changes.outputs.src != 'false' && github.repository_owner != 'nextcloud-gmbh'
|
|
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
php-versions: ['8.2']
|
|
endpoint: ['webdav', 'dav']
|
|
|
|
name: Litmus WebDAV ${{ matrix.endpoint }}
|
|
|
|
steps:
|
|
- name: Checkout server
|
|
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
|
with:
|
|
persist-credentials: false
|
|
submodules: true
|
|
|
|
- name: Set up php ${{ matrix.php-versions }}
|
|
uses: shivammathur/setup-php@accd6127cb78bee3e8082180cb391013d204ef9f #v2.37.0
|
|
timeout-minutes: 5
|
|
with:
|
|
php-version: ${{ matrix.php-versions }}
|
|
# https://docs.nextcloud.com/server/stable/admin_manual/installation/source_installation.html#prerequisites-for-manual-installation
|
|
extensions: bz2, ctype, curl, dom, fileinfo, gd, iconv, intl, json, libxml, mbstring, openssl, pcntl, posix, redis, session, simplexml, xmlreader, xmlwriter, zip, zlib, sqlite, pdo_sqlite
|
|
coverage: 'none'
|
|
ini-file: development
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
- name: Set up Nextcloud
|
|
run: |
|
|
mkdir data
|
|
./occ maintenance:install \
|
|
--verbose \
|
|
--database=sqlite \
|
|
--database-name=nextcloud \
|
|
--database-user=root \
|
|
--database-pass=rootpassword \
|
|
--admin-user admin \
|
|
--admin-pass admin
|
|
./occ config:system:set trusted_domains 2 --value=host.docker.internal:8080
|
|
|
|
- name: Run Nextcloud
|
|
run: |
|
|
php -S 0.0.0.0:8080 &
|
|
|
|
- name: Run Litmus test
|
|
run: |
|
|
docker run \
|
|
--rm \
|
|
--add-host=host.docker.internal:host-gateway \
|
|
ghcr.io/nextcloud/continuous-integration-litmus-php8.3:latest \
|
|
bash -c '\
|
|
cd /tmp/litmus/litmus-0.13;
|
|
make URL=http://host.docker.internal:8080/remote.php/${{ matrix.endpoint }}${{ matrix.endpoint == 'dav' && '/files/admin' || ''}} CREDS="admin admin" TESTS="basic copymove props largefile" check;
|
|
status=$?;
|
|
cat debug.log;
|
|
exit $status;'
|
|
|
|
- name: Print Nextcloud logs
|
|
if: always()
|
|
run: cat data/nextcloud.log
|
|
|
|
integration-litmus-summary:
|
|
permissions:
|
|
contents: none
|
|
runs-on: ubuntu-latest-low
|
|
needs: [changes, integration-litmus]
|
|
|
|
if: always()
|
|
|
|
steps:
|
|
- name: Summary status
|
|
run: if ${{ needs.changes.outputs.src != 'false' && needs.integration-litmus.result != 'success' }}; then exit 1; fi
|