Last active
January 4, 2025 18:04
-
-
Save ArturT/580df4fd7852e67379e9b263228e1994 to your computer and use it in GitHub Desktop.
Knapsack Pro - how it works - CI server config
This file contains hidden or 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
jobs: | |
- name: Run Ruby tests with Knapsack Pro | |
parallelism: 10 # run 10 parallel CI nodes | |
commands: | |
# Run RSpec specs in parallel | |
- run: bundle exec knapsack_pro:queue:rspec | |
# Run Minitest tests in parallel | |
- run: bundle exec knapsack_pro:queue:minitest | |
# Run Cucumber tests in parallel | |
- run: bundle exec knapsack_pro:queue:cucumber | |
# ... other Ruby test runners here | |
- name: Run JS tests with Knapsack Pro | |
parallelism: 4 | |
commands: | |
# Run Cypress tests in parallel | |
- npx knapsack-pro-cypress | |
# Run Jest tests in parallel | |
- npx knapsack-pro-jest --runInBand | |
# Run Vitest tests in parallel | |
- npx knapsack-pro-vitest |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment