Last active
August 30, 2019 17:32
-
-
Save ArturT/580df4fd7852e67379e9b263228e1994 to your computer and use it in GitHub Desktop.
Knapsack Pro - how it works - CI server config
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
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