Commit Graph
51 Commits
Author SHA1 Message Date
Jaapio 2b309a247d Fix ci script typo 2024-03-12 22:45:15 +01:00
dependabot[bot] ab337bf6a5 Bump phpDocumentor/.github from 0.3.0 to 0.5.0
Bumps [phpDocumentor/.github](https://github.com/phpdocumentor/.github) from 0.3.0 to 0.5.0.
- [Release notes](https://github.com/phpdocumentor/.github/releases)
- [Commits](https://github.com/phpdocumentor/.github/compare/v0.3.0...v0.5.0)

---
updated-dependencies:
- dependency-name: phpDocumentor/.github
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
2024-03-12 21:38:37 +00:00
Serhii Petrov 1286851b07 Test against php 8.3 2023-10-04 17:06:07 +03:00
dependabot[bot] c341c1dbc2 Bump phpDocumentor/.github from 0.1.0 to 0.3.0
Bumps phpDocumentor/.github from 0.1.0 to 0.3.0.

---
updated-dependencies:
- dependency-name: phpDocumentor/.github
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
2023-03-06 10:56:30 +00:00
Jaapio 863ec23a9e Upgrade ci to standardized pipeline 2022-08-27 12:51:20 +02:00
dependabot[bot] 8e19dd621a Bump actions/cache from 2.1.7 to 3
Bumps [actions/cache](https://github.com/actions/cache) from 2.1.7 to 3.
- [Release notes](https://github.com/actions/cache/releases)
- [Commits](https://github.com/actions/cache/compare/v2.1.7...v3)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
2022-03-29 20:10:23 +00:00
Jaapio 6baa6f8bd7 Remove scrutinizer 2022-03-29 22:08:34 +02:00
jrfnl 13d8469422 GH Actions: version update for various predefined actions
A number of predefined actions have had major release, which warrant an update to the workflow(s).

These updates don't actually contain any changed functionality, they are mostly just a change of the Node version used by the action itself (from Node 14 to Node 16).

Refs:
* https://github.com/actions/checkout/releases
2022-03-05 19:50:40 +01:00
Jaap van Otterdijk 21481a5c97 Merge pull request #311 from phpDocumentor/dependabot/github_actions/actions/cache-2.1.7
Bump actions/cache from 2.1.6 to 2.1.7
2021-12-27 23:36:43 +01:00
Jaap van Otterdijk 0535106ec9 Merge pull request #320 from villfa/ci/scrutinizer
Send code coverage to Scrutinizer
2021-12-27 23:36:19 +01:00
jrfnl 92f06ed36f GH Actions: version update for ramsey/composer-install
The action used to install Composer packages and handle the caching has released a new major (and some follow-up patch releases), which means, the action reference needs to be updated to benefit from it.

Refs:
* https://github.com/ramsey/composer-install/releases/tag/2.0.0
* https://github.com/ramsey/composer-install/releases/tag/2.0.1
* https://github.com/ramsey/composer-install/releases/tag/2.0.2
2021-12-25 19:37:57 +01:00
Fabien Villepinte b9576df211 Send code coverage to Scrutinizer 2021-12-21 18:55:57 +00:00
Fabien Villepinte 33e88681c3 Test with multiple versions of the dependencies 2021-12-21 15:50:16 +01:00
dependabot[bot] b3680726d2 Bump actions/cache from 2.1.6 to 2.1.7
Bumps [actions/cache](https://github.com/actions/cache) from 2.1.6 to 2.1.7.
- [Release notes](https://github.com/actions/cache/releases)
- [Commits](https://github.com/actions/cache/compare/v2.1.6...v2.1.7)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
2021-11-29 10:00:59 +00:00
Jaapio a01675497f Run test on php 8.1 2021-09-17 15:27:30 +02:00
Jaap van Otterdijk be3b495b92 Merge pull request #290 from jrfnl/ghactions-fail-on-failing-test
GH Actions: fail the build if a test run fails
2021-09-17 15:23:58 +02:00
jrfnl 63aa02024c GH Actions: fail the build if a test run fails
The way things were set up now in the `phpunit` job, no matter whether tests passed or failed, the workflow would always continue.

I suspect this may have been set-up this way to make sure that all variations of test runs will actually be run ?
The downside is that, while you will see a  for the individual build in the workflow summary, the workflow will not be marked as failed, nor will the individual test builds be marked as failed.

If we look back at the last time the workflow was run completely, this can be seen in the annotations below the summary, which show that the Windows test runs all failed.
https://github.com/phpDocumentor/ReflectionDocBlock/actions/runs/370378454

I'm proposing to change this now by:
* Removing the `continue-on-error` for the test run.
* Adding the `fail-fast` key and setting it to `false`.
    By default this key is set to `true`, which means that if any individual build within the job fails, all other builds within the job will be cancelled.
    By setting it to `false`, all builds in the matrix will still be run, but if any of them fail, the workflow will be marked as "failed".
2021-08-08 22:30:14 +02:00
dependabot[bot] e5d5fb1aa2 Bump actions/cache from 2.1.4 to 2.1.6
Bumps [actions/cache](https://github.com/actions/cache) from 2.1.4 to 2.1.6.
- [Release notes](https://github.com/actions/cache/releases)
- [Commits](https://github.com/actions/cache/compare/v2.1.4...v2.1.6)

Signed-off-by: dependabot[bot] <[email protected]>
2021-08-08 20:16:22 +00:00
jrfnl 9ab603b069 Psalm: switch from Phive to Composer
This switches the installation method for Psalm from Phive to Composer, while still using a Phar file for running Psalm.

Includes:
* Removing Psalm from the Phive configuration.
* Adding Psalm to the Composer configuration. Includes upgrading from version `3.11.2` to version `4.8.1`.
* Adjusting the script used in the `Makefile`.
    👉 Please verify and test this as things work differently on different OS-es and this should work for you.
* Adjusting the GH Actions script to use the Composer installed version of Psalm.

Note: due to the committed `composer.lock` file, Psalm will not automatically upgrade when newer versions are available.

Refs:
* https://github.com/vimeo/psalm/releases
* https://github.com/psalm/phar/releases
2021-08-08 21:31:44 +02:00
Jaap van Otterdijk 8c8deff92b Merge pull request #282 from jrfnl/feature/ghactions-switch-to-composer-cache-action
GH Actions: simplify Composer caching
2021-08-06 11:33:24 +02:00
jrfnl 9c67b4c8b9 GH Actions: simplify Composer caching
... by using the `ramsey/composer-install` action.

Ref: https://github.com/marketplace/actions/install-composer-dependencies
2021-08-01 04:29:20 +02:00
jrfnl 8bc1e76abc GH Actions: allow for manually triggering a workflow
Triggering a workflow for a branch manually is not supported by default in GH Actions, but has to be explicitly allowed.

This is useful if, for instance, an external action script or composer dependency has broken.
Once a fix is available, failing builds for open PRs can be retriggered manually instead of having to be re-pushed to retrigger the workflow.

Ref: https://github.blog/changelog/2020-07-06-github-actions-manual-triggers-with-workflow_dispatch/
2021-08-01 04:28:58 +02:00
dependabot[bot] ed0587db7f Bump actions/cache from v2 to v2.1.4
Bumps [actions/cache](https://github.com/actions/cache) from v2 to v2.1.4.
- [Release notes](https://github.com/actions/cache/releases)
- [Commits](https://github.com/actions/cache/compare/v2...26968a09c0ea4f3e233fdddbafd1166051a095f6)

Signed-off-by: dependabot[bot] <[email protected]>
2021-02-08 05:20:56 +00:00
Lars Moelleken 2ef4c3da53 add more unit tests and normalize the "__toString" methods
-> update the code coverage level
2020-09-03 02:54:11 +02:00
Jaapio a77432fbb0 update to phpunit 9.2
phpunit 9.2 is the latests version but not supported on php 7.2
we are supporting php 7.2 for now, so downgrade for that purpose
2020-07-20 21:59:04 +02:00
Jaapio 5316142b0f Install tools per step to prevent errors 2020-07-20 21:38:19 +02:00
Jaapio 2b7f96583d Enable php8 in build matrix 2020-07-20 21:27:58 +02:00
Jaap van Otterdijk 04ad1dd646 Merge pull request #237 from phpDocumentor/php-8
Add php 8 to build matrix
2020-06-27 14:58:06 +02:00
Jaapio acd4c1fc9d Add php 8 to build matrix 2020-06-27 14:43:28 +02:00
Jaap van Otterdijk adacaaab2f Merge pull request #235 from phpDocumentor/dependabot/github_actions/phpDocumentor/phpstan-ga-0.12.9
Bump phpDocumentor/phpstan-ga from 0.12.3 to 0.12.9
2020-06-27 14:32:41 +02:00
dependabot[bot] 275c80691b Bump phpDocumentor/phpstan-ga from 0.12.3 to 0.12.9
Bumps [phpDocumentor/phpstan-ga](https://github.com/phpDocumentor/phpstan-ga) from 0.12.3 to 0.12.9.
- [Release notes](https://github.com/phpDocumentor/phpstan-ga/releases)
- [Commits](https://github.com/phpDocumentor/phpstan-ga/compare/0.12.3...6c5df17f25d143e917106d8241f8ec033209cdde)

Signed-off-by: dependabot[bot] <[email protected]>
2020-06-27 12:21:29 +00:00
dependabot[bot] 31687bf357 Bump actions/cache from v1 to v2
Bumps [actions/cache](https://github.com/actions/cache) from v1 to v2.
- [Release notes](https://github.com/actions/cache/releases)
- [Commits](https://github.com/actions/cache/compare/v1...b8204782bbb5f872091ecc5eb9cb7d004e35b1fa)

Signed-off-by: dependabot[bot] <[email protected]>
2020-06-27 12:21:29 +00:00
Jaapio a93d44f1e1 Add psalm key 2020-06-27 13:25:20 +02:00
Jaapio 4d1a808f18 Bump qa tools 2020-06-27 13:19:36 +02:00
Jaapio 5892a510fe Fix phpstan workflow 2020-06-18 22:57:11 +02:00
Jaapio 01848b641d Use composer image to install dependencies 2020-06-18 22:50:07 +02:00
Orklah 9724d359e9 change somes things for SA 2020-02-22 12:03:05 +01:00
Jaapio 98f8eeaa24 Improve ci setup 2020-02-22 11:08:00 +01:00
Jaapio 50b2bc6670 Fetch tags 2020-02-12 20:01:06 +01:00
Jaap van Otterdijk b21eaf3a01 Merge pull request #201 from orklah/master
bump phpstan to master
2020-02-12 19:32:43 +01:00
Jaapio b73a2b7be0 Add bc check to ci 2020-02-12 19:30:27 +01:00
Jaapio 5b4b720bd1 Add bc check to ci 2020-02-12 19:29:34 +01:00
Mike van Riel 50e77ace68 Change unit testing to match phpDocumentor itself 2020-02-12 08:18:08 +01:00
Orklah ada1b6be7f bump phpstan to master. Fixed ignored errors 2020-02-10 21:41:22 +01:00
Jaapio 1ef2c9d917 Build on push & pr 2020-02-10 19:44:24 +01:00
Jaapio 6a88d1ae42 use phpstan action 2020-02-05 21:17:02 +01:00
Jaapio da71602ae9 Fix issue on workflow 2020-02-02 20:24:25 +01:00
Jaapio 6239e0d184 Switch to phpdoc coding-standard 2020-02-02 11:33:17 +01:00
Jaapio 043df2c565 remove bc check for now 2019-12-13 15:31:58 +01:00
Jaapio fc2eb2355e Add phpdoc workflow 2019-12-11 09:18:05 +01:00