refactor: ♻️ optimize echo
command in show_help
function
#2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Run Bats Tests | |
# Trigger the workflow on push events to cli-tips.sh | |
on: | |
push: | |
paths: | |
- "cli-tips.sh" | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
# Checkout the repository | |
- name: 📥 Checkout Repository | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 | |
- name: ⚙️ Install dependencies | |
run: sudo apt install parallels | |
- name: 🧪 Run Bats Tests | |
run: npx bats test/cli-tips.bats --jobs $(nproc) |