mirror of
https://github.com/tw93/Mole.git
synced 2026-02-11 07:44:20 +00:00
update tests
This commit is contained in:
10
.github/workflows/tests.yml
vendored
10
.github/workflows/tests.yml
vendored
@@ -6,18 +6,18 @@ on:
|
|||||||
pull_request:
|
pull_request:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
test:
|
shell-quality-checks:
|
||||||
runs-on: macos-latest
|
runs-on: macos-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout source code
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Install tools
|
- name: Install shell linting and testing tools
|
||||||
run: brew install bats-core shfmt shellcheck
|
run: brew install bats-core shfmt shellcheck
|
||||||
|
|
||||||
- name: Format code
|
- name: Auto-format shell scripts with shfmt
|
||||||
run: ./scripts/format.sh
|
run: ./scripts/format.sh
|
||||||
|
|
||||||
- name: Run all checks
|
- name: Run shellcheck linter and bats tests
|
||||||
run: ./scripts/check.sh
|
run: ./scripts/check.sh
|
||||||
|
|||||||
Reference in New Issue
Block a user