- add deployment paths table to README - update installation notes to reference deployment paths - bump version to 1.1.5 - update nextcloud dependency range (33-35) - update author homepage and remove email - remove --prefer-dist flag in ci.yml - delete img/app (copy).svg
40 lines
931 B
YAML
40 lines
931 B
YAML
name: CI
|
|
|
|
# TODO: Check if we can remove composer.json — CI currently uses `composer install`
|
|
# and `composer test` (wrappers around `phpunit` and `php -l`). If CI can use
|
|
# direct commands, composer.json can be dropped (no runtime deps needed).
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- '**'
|
|
pull_request:
|
|
branches:
|
|
- '**'
|
|
|
|
jobs:
|
|
php-tests:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Setup PHP
|
|
uses: shivammathur/setup-php@v2
|
|
with:
|
|
php-version: '8.2'
|
|
extensions: json, xml, mbstring
|
|
coverage: none
|
|
|
|
- name: Install dependencies
|
|
working-directory: ./nc_bot_webhooks
|
|
run: composer install
|
|
|
|
- name: Lint PHP files
|
|
working-directory: ./nc_bot_webhooks
|
|
run: composer lint
|
|
|
|
- name: Run tests
|
|
working-directory: ./nc_bot_webhooks
|
|
run: composer test
|