OpenAPITools/openapi-generator

[REQ][PHP] Add minimal CI config to PHP generators

開放

#11,858 建立於 2022年3月11日

 (1 則留言) (0 個反應) (0 位負責人)Java (7,516 個分叉)batch import
Client: PHPEnhancement: CI/TestGood First IssueServer: PHPhelp wanted

倉庫指標

星標
 (26,243 顆星)
PR 合併指標
 (PR 指標待抓取)

描述

Is your feature request related to a problem? Please describe.

Recently noticed how many PHP based projects migrates from Travis-CI to GitHub Actions. I didn't try it yet, but after a quick reading I see that GitHub Actions has Ubuntu environment with preinstalled PHP from 7.4 to 8.1, while Travis CI offers Bionic Env with PHP 7.4 only. It can speed up tests significantly I guess.

Since I never used other CI tools but Travis CI, I would ask our community to share their practices regarding PHP CI. If somebody can drop a config to test generated samples under PHP 7.4, 8.0 and 8.1 via GitHub hosted runners I would much appreciate that.

Describe the solution you'd like

  • Remove Travis CI config from current repo and from all PHP based generators samples.
  • Setup GitHub Actions to autotest PHP based generators also add basic config to samples.

Describe alternatives you've considered

Suggest other tool if GitHub Actions doesn't fit.

Additional context

This might be a good first issue for new contributors since you don't need to know Java.

cc @jebentier @dkarlovi @mandrean @jfastnacht @ackintosh @renepardon active PHP contributor @Articus

貢獻者指南