Skip to content

Instantly share code, notes, and snippets.

@ArturT
Last active August 30, 2019 17:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ArturT/580df4fd7852e67379e9b263228e1994 to your computer and use it in GitHub Desktop.
Save ArturT/580df4fd7852e67379e9b263228e1994 to your computer and use it in GitHub Desktop.
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