screepers / screeps-server-mockup

Private server package for unit tests
MIT License
56 stars 13 forks source link

GitHub Action: Test and Lint #20

Closed brisberg closed 4 years ago

brisberg commented 4 years ago

Added workflow yaml for GitHub Action for testing and linting on push.

Not sure if you have used GitHub Actions for CI before, but they added free runners for them last year and have been building a repository of actions for normal CI tasks.

Once this is merged, it will run yarn test and yarn run lint on the latest commit for each Pull Request. It will post the results in the PR near the bottom. This will help to enforce contributors keeping the tests and lint passing.

These CI jobs are free for public repos, read more here: https://github.com/features/actions

brisberg commented 4 years ago

Not sure if you can view Action logs on my fork, but here is the run for this branch:

https://github.com/brisberg/screeps-server-mockup/runs/478686914

brisberg commented 4 years ago

Does that mean you are on board with using Github Actions?

pyrodogg commented 4 years ago

Yea looks nice. I have some small experience with Gitlab CI, first with GitHub Actions

On Sun, 15 Mar 2020, 22:25 Brandon Risberg, notifications@github.com wrote:

Does that mean you are on board with using Github Actions?

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/screepers/screeps-server-mockup/pull/20#issuecomment-599259926, or unsubscribe https://github.com/notifications/unsubscribe-auth/AACQMB6YFWXUFSPOT65T7GTRHU2TPANCNFSM4K7LXSBQ .

brisberg commented 4 years ago

Cool, yeah it is very similar to Gitlab CI