Skip to content

Commit

Permalink
Updated config.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
philipkcl committed Nov 23, 2023
1 parent 91dfc44 commit aaaa676
Showing 1 changed file with 11 additions and 8 deletions.
19 changes: 11 additions & 8 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,16 +23,19 @@ jobs:
pkg-manager: pip-dist
pip-dependency-file: setup.py
path-args: .[test]
- run: |
echo "ELASTICSEARCH_HOSTS = [{'host': 'localhost', 'port': 9200}]" > test.cfg
python portality/cms/build_fragments.py
python portality/cms/build_sass.py
- run: |
TESTS=$(circleci tests glob "doajtest/unit/test_background*.py" | circleci tests split)
pytest -v --color=yes --code-highlight=yes --log-level=DEBUG --junitxml=test-results/doajtest-unit.xml $TESTS
- run:
name: Prepare doaj env for unittests
command: |
echo "ELASTICSEARCH_HOSTS = [{'host': 'localhost', 'port': 9200}]" > test.cfg
python portality/cms/build_fragments.py
python portality/cms/build_sass.py
- run:
name: Run unit tests
command: |
TESTS=$(circleci tests glob "doajtest/unit/test_background_*.py" | circleci tests split)
pytest -v --color=yes --code-highlight=yes --log-level=DEBUG --junitxml=test-results/doajtest-unit.xml $TESTS
- store_test_results:
path: test-results

working_directory: ~/doaj


Expand Down

0 comments on commit aaaa676

Please sign in to comment.