Skip to content

Commit 469a29d

Browse files
committed
perf(ci): ⚡ use parallel execution for Bats tests
* Added a step to install `parallels` in the GitHub Actions workflow. * Updated the Bats test command to utilize parallel execution with `--jobs $(nproc)`.
1 parent 5858553 commit 469a29d

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/test.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,8 @@ jobs:
1515
- name: 📥 Checkout Repository
1616
uses: actions/checkout@v3
1717

18+
- name: ⚙️ Install dependencies
19+
run: sudo apt install parallels
20+
1821
- name: 🧪 Run Bats Tests
19-
run: npx bats test/cli-tips.bats
22+
run: npx bats test/cli-tips.bats --jobs $(nproc)

0 commit comments

Comments
 (0)