Verify version for each command (#43)
Thanks to contributions by @sdolenc
* docker files
* list tools for testing
* test packages
* github actions
* documentation
* ensure expected command count
* output count of individual tools tested
* test: eb rg podman subl brunch grunt gulp heroku netlify sls java brew gor, heroku, mvn, netlify, netlifyctl, php5, gcloud, hub, coreutils, brunch, code, kotlin, sbt, go, ant, gem, rake, autojump, groovy, aws, perl6, sbt, scala, lein
2020-04-25 13:18:24 +02:00
|
|
|
name: CI
|
|
|
|
on: [push, pull_request]
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
shellcheck:
|
|
|
|
name: shellcheck
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: Clone Repo
|
2023-07-28 14:52:11 +02:00
|
|
|
uses: actions/checkout@v3
|
Verify version for each command (#43)
Thanks to contributions by @sdolenc
* docker files
* list tools for testing
* test packages
* github actions
* documentation
* ensure expected command count
* output count of individual tools tested
* test: eb rg podman subl brunch grunt gulp heroku netlify sls java brew gor, heroku, mvn, netlify, netlifyctl, php5, gcloud, hub, coreutils, brunch, code, kotlin, sbt, go, ant, gem, rake, autojump, groovy, aws, perl6, sbt, scala, lein
2020-04-25 13:18:24 +02:00
|
|
|
|
|
|
|
- name: Run Shellcheck
|
2023-07-28 14:52:11 +02:00
|
|
|
uses: ludeeus/action-shellcheck@1.1.0
|
Verify version for each command (#43)
Thanks to contributions by @sdolenc
* docker files
* list tools for testing
* test packages
* github actions
* documentation
* ensure expected command count
* output count of individual tools tested
* test: eb rg podman subl brunch grunt gulp heroku netlify sls java brew gor, heroku, mvn, netlify, netlifyctl, php5, gcloud, hub, coreutils, brunch, code, kotlin, sbt, go, ant, gem, rake, autojump, groovy, aws, perl6, sbt, scala, lein
2020-04-25 13:18:24 +02:00
|
|
|
|
|
|
|
test:
|
|
|
|
name: test
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
strategy:
|
|
|
|
matrix:
|
|
|
|
container:
|
|
|
|
- debian # uses debian:buster-20200327-slim which is debian 10.3
|
|
|
|
- ubuntu16 # uses ubuntu:xenial-20200212 which is ubuntu 16.04
|
|
|
|
|
2020-06-21 07:00:55 +02:00
|
|
|
container: kdabir/has-test-containers:${{ matrix.container }}
|
Verify version for each command (#43)
Thanks to contributions by @sdolenc
* docker files
* list tools for testing
* test packages
* github actions
* documentation
* ensure expected command count
* output count of individual tools tested
* test: eb rg podman subl brunch grunt gulp heroku netlify sls java brew gor, heroku, mvn, netlify, netlifyctl, php5, gcloud, hub, coreutils, brunch, code, kotlin, sbt, go, ant, gem, rake, autojump, groovy, aws, perl6, sbt, scala, lein
2020-04-25 13:18:24 +02:00
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: Clone Repo
|
2023-07-28 14:52:11 +02:00
|
|
|
uses: actions/checkout@v3
|
Verify version for each command (#43)
Thanks to contributions by @sdolenc
* docker files
* list tools for testing
* test packages
* github actions
* documentation
* ensure expected command count
* output count of individual tools tested
* test: eb rg podman subl brunch grunt gulp heroku netlify sls java brew gor, heroku, mvn, netlify, netlifyctl, php5, gcloud, hub, coreutils, brunch, code, kotlin, sbt, go, ant, gem, rake, autojump, groovy, aws, perl6, sbt, scala, lein
2020-04-25 13:18:24 +02:00
|
|
|
|
|
|
|
- name: test
|
|
|
|
run: make test
|
|
|
|
shell: bash
|
|
|
|
|
|
|
|
test_all:
|
|
|
|
name: test_all
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
strategy:
|
|
|
|
matrix:
|
|
|
|
container:
|
|
|
|
- ubuntu # uses ubuntu:bionic-20200311 which is ubuntu 18.04
|
|
|
|
- alpine # uses bash:5.0.16 which is alpine 3.11
|
|
|
|
|
2020-06-21 07:00:55 +02:00
|
|
|
container: kdabir/has-test-containers:${{ matrix.container }}
|
Verify version for each command (#43)
Thanks to contributions by @sdolenc
* docker files
* list tools for testing
* test packages
* github actions
* documentation
* ensure expected command count
* output count of individual tools tested
* test: eb rg podman subl brunch grunt gulp heroku netlify sls java brew gor, heroku, mvn, netlify, netlifyctl, php5, gcloud, hub, coreutils, brunch, code, kotlin, sbt, go, ant, gem, rake, autojump, groovy, aws, perl6, sbt, scala, lein
2020-04-25 13:18:24 +02:00
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: Clone Repo
|
2023-07-28 14:52:11 +02:00
|
|
|
uses: actions/checkout@v3
|
Verify version for each command (#43)
Thanks to contributions by @sdolenc
* docker files
* list tools for testing
* test packages
* github actions
* documentation
* ensure expected command count
* output count of individual tools tested
* test: eb rg podman subl brunch grunt gulp heroku netlify sls java brew gor, heroku, mvn, netlify, netlifyctl, php5, gcloud, hub, coreutils, brunch, code, kotlin, sbt, go, ant, gem, rake, autojump, groovy, aws, perl6, sbt, scala, lein
2020-04-25 13:18:24 +02:00
|
|
|
|
|
|
|
- name: test_all
|
|
|
|
run: bats -t ./tests/test_all_packages.bats
|
|
|
|
shell: bash
|