Full rewrite
This commit is contained in:
parent
cafcc389ce
commit
0fb1a8b777
15 changed files with 1238 additions and 131 deletions
33
.github/workflows/bash_unit.yml
vendored
Normal file
33
.github/workflows/bash_unit.yml
vendored
Normal file
|
@ -0,0 +1,33 @@
|
|||
name: bash_unit CI
|
||||
on:
|
||||
push:
|
||||
branches: [ master ]
|
||||
pull_request:
|
||||
branches: [ master ]
|
||||
|
||||
jobs:
|
||||
ubuntu:
|
||||
runs-on: ubuntu-latest
|
||||
if: "! contains(toJSON(github.event.commits.*.message), '[skip ci]')"
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- name: install Ubuntu dependencies with sudo apt install -y
|
||||
run: sudo apt install -y gawk
|
||||
|
||||
- name: Unit testing with bash_unit
|
||||
run: ./run_tests.sh
|
||||
|
||||
macos:
|
||||
runs-on: macos-latest
|
||||
if: "! contains(toJSON(github.event.commits.*.message), '[skip ci]') && contains(toJSON(github.event.commits.*.message), '[macos]')"
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- name: install MacOS dependencies with brew install
|
||||
run: brew install gawk
|
||||
|
||||
- name: Unit testing with bash_unit
|
||||
run: ./run_tests.sh
|
17
.github/workflows/shellcheck.yml
vendored
Normal file
17
.github/workflows/shellcheck.yml
vendored
Normal file
|
@ -0,0 +1,17 @@
|
|||
name: Shellcheck CI
|
||||
on:
|
||||
push:
|
||||
branches: [ master ]
|
||||
pull_request:
|
||||
branches: [ master ]
|
||||
|
||||
jobs:
|
||||
shellcheck:
|
||||
runs-on: ubuntu-latest
|
||||
if: "! contains(toJSON(github.event.commits.*.message), '[skip ci]')"
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- name: Check for code quality errors
|
||||
run: ./run_linter.sh
|
Loading…
Add table
Add a link
Reference in a new issue