Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Knapsack Pro - how it works - CI server config
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
- $(npm bin)/knapsack-pro-cypress
# Run Jest tests in parallel
- $(npm bin)/knapsack-pro-jest
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment