3 ms·
My approach to this was to create generic images. For example there are various actions out there to "Run `make test`", "Run pytest", or "Run go tests". Why b
by stevekemp 7y ago
My approach to this was to create generic images. For example there are various actions out there to "Run `make test`", "Run pytest", or "Run go tests".
Why be specific? Why not include a shell-script in your repository, and allow that to run the tests? That way you just need one "Run test-script" action:
https://github.com/skx/github-action-tester https://github.com/skx/github-action-tester
- tracker1 7y agoI've done pretty much just this... choosing the appropriate OS image(s) and relying on a given scripting language in the environment.. the scripts themselves are in code and the YAML us just enough to run what's needed. https://github.com/bbs-io/syncterm-windows/blob/master/.github/workflows/nightly.yml https://github.com/bbs-io/syncterm-windows/blob/master/.gith...