Comments (2)
Hi @rosskevin
You have missed 2 spaces indentation in mkdir
command and the params for knapsack pro command probably should not be in '
but the whole command in "
.
test:
override:
- mkdir -p $CIRCLE_TEST_REPORTS/cucumber:
parallel: true
# Step for rspec
- bundle exec rake "knapsack_pro:rspec[--format progress --format RspecJunitFormatter -o $CIRCLE_TEST_REPORTS/rspec/junit.xml]":
parallel: true
# Step for cucumber
- bundle exec rake "knapsack_pro:cucumber[--format pretty --format json --out $CIRCLE_TEST_REPORTS/cucumber/tests.cucumber]":
parallel: true
If that works for you then I recommand to run cucumber first with knapsack_pro regular mode and later run rspec in knapsack_pro queue mode thanks to that you will get better auto balancing.
test:
override:
- mkdir -p $CIRCLE_TEST_REPORTS/cucumber:
parallel: true
# Step for cucumber
- bundle exec rake "knapsack_pro:cucumber[--format pretty --format json --out $CIRCLE_TEST_REPORTS/cucumber/tests.cucumber]":
parallel: true
# Step for rspec
- bundle exec rake "knapsack_pro:queue:rspec[--format progress --format RspecJunitFormatter -o $CIRCLE_TEST_REPORTS/rspec/junit.xml]":
parallel: true
If you will need more help specific for your project you can always email me https://knapsackpro.com/contact :)
from knapsack_pro-ruby.
Thank you, the parallel spacing was it. I saw your example comments about spacing and thought I had it right, but clearly didn't. It's strange that yaml lint passed it. Anyway, looks like success so far!
from knapsack_pro-ruby.
Related Issues (20)
- Ability to set an exit code for RSpec failure HOT 4
- Include error messages from dry run json report in stdout when knapsack_pro:rspec_test_example_detector fails HOT 8
- rspec_junit_formatter still producing invalid XML after applying suggestion from #40 HOT 3
- Support for Github Actions job summaries HOT 5
- Queue mode causes rspec_junit_formatter to produce invalid XML when a node runs a spec with all examples commented out. HOT 5
- Thread.join causes knapsack to hang on circleCI HOT 13
- Enabled KNAPSACK_PRO_RSPEC_SPLIT_BY_TEST_EXAMPLES and now get uninitialized constant at end of run HOT 10
- Regular mode (non-queue) rspec outputs all spec file names on startup HOT 4
- All examples skipped after exception in before: suite hook in queue mode HOT 2
- Memory leak HOT 2
- Lots of failures with rolify gem after 4.1 -> 5.0 bump HOT 12
- Docs need to specify ENV var to detect CI provider HOT 1
- Fail gracefully when there's no git HOT 8
- Running `git fetch --shallow-since` to fetch commit author log causes hang on Buildkite runners HOT 12
- rspec-core conflict HOT 4
- Running queue mode locally for troubleshooting with a small subset of tests, but with multiple batches HOT 6
- Does `rake knapsack_pro:rspec_test_example_detector` need to run if there aren't any slow specs? HOT 2
- Slow test analysis runs even when there's no slow tests HOT 2
- Disable example_status_persistence_file_path HOT 3
- Create a replication command on failed node HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from knapsack_pro-ruby.