Run analytics tests in docker container to evade librdkafka incompatibilities
@@ -40,4 +40,4 @@ jobs:
- name: Run API tests
run: cd cccatalog-api && test/run_test.sh
- name: Run analytics tests
- run: cd ./analytics && pipenv install && PYTHONPATH=. API_URL='analytics:8090' pipenv run pytest tests.py --disable-pytest-warnings
+ run: cd ./analytics && pipenv install && docker exec -i cccatalog-api_analytics_1 /bin/bash -c 'PYTHONPATH=. pipenv run pytest tests.py'
