Skip to content

Commit

Permalink
Try subfolder with test results
Browse files Browse the repository at this point in the history
  • Loading branch information
smotornyuk committed Jun 26, 2022
1 parent 97788dc commit 3f1192f
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ defaults:
run_tests: &run_tests
# Tests Backend, split across containers by segments
run: |
mkdir -p ~/junit
python -m pytest -v --ckan-ini=test-core-circle-ci.ini --cov=ckan --cov=ckanext --junitxml=/root/junit/junit.xml --splits 4 --group $((CIRCLE_NODE_INDEX+1)) --splitting-algorithm least_duration
mkdir -p ~/junit/result
python -m pytest -v --ckan-ini=test-core-circle-ci.ini --cov=ckan --cov=ckanext --junitxml=/root/junit/result/junit.xml --splits 4 --group $((CIRCLE_NODE_INDEX+1)) --splitting-algorithm least_duration
ckan_env: &ckan_env
environment:
Expand All @@ -35,7 +35,7 @@ defaults:
CKAN_POSTGRES_USER: ckan_default
CKAN_POSTGRES_PWD: pass
PGPASSWORD: ckan
PYTEST_COMMON_OPTIONS: -v --ckan-ini=test-core-circle-ci.ini --cov=ckan --cov=ckanext --junitxml=/root/junit/junit.xml --test-group-count 4 --test-group-random-seed 1
PYTEST_COMMON_OPTIONS: -v --ckan-ini=test-core-circle-ci.ini --cov=ckan --cov=ckanext --junitxml=/root/junit/result/junit.xml --test-group-count 4 --test-group-random-seed 1
pg_image: &pg_image
image: postgres:10
environment:
Expand Down Expand Up @@ -77,6 +77,7 @@ jobs:

# Tests Backend, split across containers by segments
- <<: *run_tests

- store_test_results:
path: /root/junit

Expand Down

0 comments on commit 3f1192f

Please sign in to comment.