feat(ci): migrate php checks , docs, and php unit tests from Drone to GitHub Actions#294
feat(ci): migrate php checks , docs, and php unit tests from Drone to GitHub Actions#294Ashim-Stha wants to merge 1 commit intomainfrom
php checks , docs, and php unit tests from Drone to GitHub Actions#294Conversation
3cb37e3 to
60883e6
Compare
82d6dc7 to
f59b2fe
Compare
php checks , docs, and php unit tests from Drone to GitHub Actions
f59b2fe to
626dc14
Compare
626dc14 to
7f6475c
Compare
…GitHub Actions Signed-off-by: Ashim Shrestha <ashimshrestha2384@gmail.com>
7f6475c to
4cf2b26
Compare
saw-jan
left a comment
There was a problem hiding this comment.
Referencing:
✅ Allowed Actions Policy
Only the following GitHub Actions are allowed:
- Official GitHub Actions
- Actions from verified publishers
Any exceptions must be discussed with the development team before use.
we need to confirm (with dev team) that we are okay to use these actions
| steps: | ||
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | ||
|
|
||
| - uses: shivammathur/setup-php@accd6127cb78bee3e8082180cb391013d204ef9f # v2.37.0 |
There was a problem hiding this comment.
most commonly used php setup but not verified.
There was a problem hiding this comment.
See https://github.com/owncloud/reusable-workflows/blob/main/.github/workflows/php-unit.yml
and any other workflows in that folder. Those are being used with ownCloud core and apps.
Use anything from there as examples.
I don't think that we will be using https://github.com/owncloud-ci/php because actually we are easily using shivammathur/setup-php to get and configure PHP.
There was a problem hiding this comment.
github.com/owncloud/impersonate/pull/256 has GitHub workflow actions that I am doing for ownCloud core and apps. So look there also to get any ideas.
| - run: composer install | ||
|
|
||
| - name: docs generate | ||
| uses: docker://phpdoc/phpdoc:3 |
There was a problem hiding this comment.
using docker image. needs to clarify if this is ok.
| uses: docker://phpdoc/phpdoc:3 | ||
|
|
||
| - name: publish api docs | ||
| uses: peaceiris/actions-gh-pages@4f9cc6602d3f66b9c108549d475ec49e8ef4d45e # v4.0.0 |
|
what will happen to owncloud-ci images? we are using ubuntu and php images from marketplace |
Description
Migrates the following Drone CI pipelines to GitHub Actions:
php-checks- codestyle, phpstan, phanunit-tests-without-coverageunit-tests-with-coveragedocsRelated Issue