mirror of
https://github.com/tw93/Mole.git
synced 2026-02-06 17:47:57 +00:00
update tests
This commit is contained in:
23
.github/workflows/shell-quality-checks.yml
vendored
Normal file
23
.github/workflows/shell-quality-checks.yml
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
name: Shell Script Quality Checks
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [main]
|
||||
pull_request:
|
||||
|
||||
jobs:
|
||||
shell-quality-checks:
|
||||
runs-on: macos-latest
|
||||
|
||||
steps:
|
||||
- name: Checkout source code
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Install shell linting and testing tools
|
||||
run: brew install bats-core shfmt shellcheck
|
||||
|
||||
- name: Auto-format shell scripts with shfmt
|
||||
run: ./scripts/format.sh
|
||||
|
||||
- name: Run shellcheck linter and bats tests
|
||||
run: ./scripts/check.sh
|
||||
Reference in New Issue
Block a user