Skip to content

Commit

Permalink
fix splitting
Browse files Browse the repository at this point in the history
  • Loading branch information
eddiewebb committed Jan 14, 2020
1 parent 5a0cd12 commit a54b84a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 1 addition & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ jobs:
name: Import Tests using BATS
command: |
export BATS_IMPORT_DEV_ORB="eddiewebb/<<pipeline.parameters.orbname>>@dev:${PR_NUMBER}"
export BATS_TEST_LIST=$(bats -l test | cirleci split)
export BATS_TEST_LIST=$(bats -l test | cirleci tests split | tr '\n' ' ')
echo "This node will run ${BATS_TEST_LIST}"
bats test
- pr-comment
Expand Down Expand Up @@ -124,7 +124,6 @@ commands:
command: |
# my fork includes tets list for splitting
cd /tmp && git clone https://github.com/eddiewebb/bats-core.git && cd bats-core
cp
./install.sh /usr/local
- run:
name: Install YQ
Expand Down
2 changes: 0 additions & 2 deletions test/test_expansion.bats
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,6 @@ function setup {

}



@test "Default job sets block workflow properly" {
# given
process_config_with test/inputs/fulljob.yml
Expand Down

0 comments on commit a54b84a

Please sign in to comment.