We want to add CI/CD tools to all PDS Interop PHP repositories that are dependencies for this repository. This ticket serves as full list of all the steps that need to be taken. For all repositories the steps are more or less the same: - Create a `.github/workflows` directory - Create a YAML workflow file to lint for PHP syntax errors - Create a YAML workflow file to check for PHP version compatibility (PHP Compat) - Create a YAML workflow file to check for style violations (PHP CodeSniffer) - Create a YAML workflow file to do security checks - Create a YAML workflow file to run PHPUnit tests (similar to [`tests.yml`](https://github.com/pdsinterop/flysystem-rdf/blob/main/.github/workflows/tests.yml)) This means our worklist is: - `solid-nextcloud` - [x] Workflow to lint for PHP syntax errors - [x] Workflow to check for PHP version compatibility - [x] Workflow to check for style violations - [x] Workflow to do security checks - [ ] ~~Workflow to run PHPUnit tests~~ see #81 - `php-solid-auth` - [x] Workflow to lint for PHP syntax errors - [x] Workflow to check for PHP version compatibility - [ ] Workflow to check for style violations - [x] Workflow to do security checks - [x] Workflow to run PHPUnit tests - `php-solid-crud` - [x] Workflow to lint for PHP syntax errors - [x] Workflow to check for PHP version compatibility - [ ] Workflow to check for style violations - [x] Workflow to do security checks - [x] Workflow to run PHPUnit tests - `flysystem-nextcloud` - [x] Workflow to lint for PHP syntax errors - [x] Workflow to check for PHP version compatibility - [ ] Workflow to check for style violations - [x] Workflow to do security checks - [x] Workflow to run PHPUnit tests - `flysystem-rdf` - [x] Workflow to lint for PHP syntax errors - [x] Workflow to check for PHP version compatibility - [ ] Workflow to check for style violations - [x] Workflow to do security checks - [x] Workflow to run PHPUnit tests If so desired, this list can be broken out into separate tickets in each repo.
Activity
ylebre commentedon Aug 26, 2022
PRs for linting PHP:
pdsinterop/php-solid-crud#17
pdsinterop/php-solid-auth#21
pdsinterop/flysystem-nextcloud#6
pdsinterop/flysystem-rdf#8
ylebre commentedon Aug 26, 2022
PRs for PHP version sniff:
pdsinterop/php-solid-auth#22
pdsinterop/php-solid-crud#18
pdsinterop/flysystem-nextcloud#7
pdsinterop/flysystem-rdf#9
ylebre commentedon Aug 26, 2022
Since the security check only validates dependancies, we are only adding it to the solid-nextcloud repo:
#79
ylebre commentedon Aug 26, 2022
Above PRs are merged.
ylebre commentedon Aug 26, 2022
Adding PHP version sniff for solid-nextcloud:
#80
ylebre commentedon Aug 26, 2022
Above PR is merged.
ylebre commentedon Aug 26, 2022
PHPunit for flysystem/nextcloud: pdsinterop/flysystem-nextcloud#9
ylebre commentedon Aug 26, 2022
PHPUnit for php-solid-crud: pdsinterop/php-solid-crud#20
ylebre commentedon Aug 26, 2022
PHPunit for php-solid-auth: pdsinterop/php-solid-auth#24
Potherca commentedon Jan 20, 2024
PHP Code standard added in 3aa3097 and b801021