auraphp / Aura.Di

Dependency Injection System
MIT License
349 stars 63 forks source link

PDS standard - Github actions #191

Closed niden closed 4 years ago

niden commented 4 years ago

Additional PHPCS PR to follow

harikt commented 4 years ago

Hi @niden ,

I am not in favor of certain things.

  1. PDS skelton doesn't enforce you to have empty directories ( May be we need to confirm from @pmjones ).
  2. I don't think we need to keep ocular in the bin directory just to use for travis.
  3. I don't know more about the github actions. May be you can tell the benefits it offers ?

These are some of my thoughts.

niden commented 4 years ago

Hey @harikt

Not sure about #1. I always kept directories even empty ones.

2 I thought I would save a download there. I can move it out easily and adjust the travis/github actions

3 This is a new thing that GitHub introduced which allows you to have a full CI based on actions which can pretty much do anything you need. The actions can be docker based, or javascript/typescript based etc. For instance in one of my projects I am running all the integration tess in mysql and the next run is in sqlite etc. Very flexible and I thought it might help as an addon instead or alongside Travis.

Have a look at the actions on my fork: https://github.com/niden/Aura.Di/actions As you will see it is pretty much Travis on GitHub. I can remove it if you like - I started using it more and more so thought that Aura could benefit with one more CI.

harikt commented 4 years ago

Hi @niden ,

No actions need to be taken. Let other members also get a change to look into this.

May be @frederikbosch will respond once he get some time.

frederikbosch commented 4 years ago

@harikt What shall we do with this one? Personally, I rather include PHPStan than the PDS standard.

harikt commented 4 years ago

@frederikbosch both ( PDS and PHPstan) are different tools I believe. I have no objections with what you choose. So full support for your choices :) .

harikt commented 4 years ago

What are these public and resources files to do with. I wonder whether those are compulsory for PDS. If so I don't like keeping such ones just for the sake. I am against those.

frederikbosch commented 4 years ago

Sorry, I rather leave things as they are now. More tools means more maintenance. Since the proposed tools do not provide anything to the code, I rather leave them out.