-
-
Notifications
You must be signed in to change notification settings - Fork 0
28 lines (24 loc) · 677 Bytes
/
Copy pathci.yml
File metadata and controls
28 lines (24 loc) · 677 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Syntax smoke only. PHPUnit needs a Nextcloud bootstrap — run locally:
# composer test:docker or npm run test:php:docker
name: CI
on:
push:
branches: [master, main]
pull_request:
permissions:
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
ci:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: shivammathur/setup-php@v2
with:
php-version: '8.2'
coverage: none
tools: composer:v2
- run: composer validate --no-check-publish
- run: find lib tests templates -name '*.php' -print0 | xargs -0 -n1 -P4 php -l