tests: fix cd calls

This commit is contained in:
Jose Diaz-Gonzalez
2020-06-20 00:04:54 -04:00
parent 9c300dc14b
commit c632b6b358

View File

@@ -85,8 +85,9 @@ jobs:
shell: /bin/bash shell: /bin/bash
command: | command: |
mkdir -p test-results/bats mkdir -p test-results/bats
cd tests/unit && echo "executing tests: $(cd tests/unit ; ls << parameters.index >>*.bats | xargs)" cd tests/unit
cd tests/unit && bats --formatter bats-format-junit -e -T -o ../../test-results/bats $(cd tests/unit ; ls << parameters.index >>*.bats | xargs) echo "executing tests: $(ls << parameters.index >>*.bats | xargs)"
bats --formatter bats-format-junit -e -T -o ../../test-results/bats $(ls << parameters.index >>*.bats | xargs)
no_output_timeout: 60m no_output_timeout: 60m
- store_artifacts: - store_artifacts:
path: ./test-results path: ./test-results