Revert "[autotest] remove code climate dependency"

This reverts commit 61ebc3aea6.
This commit is contained in:
tobi-wan-kenobi 2022-07-29 14:02:54 +02:00
parent a78403d3e8
commit 921ddb64f0

View file

@ -30,6 +30,11 @@ jobs:
pip install -U coverage pytest pytest-mock freezegun pip install -U coverage pytest pytest-mock freezegun
pip install 'pygit2<1' 'libvirt-python<6.3' 'feedparser<6' || true pip install 'pygit2<1' 'libvirt-python<6.3' 'feedparser<6' || true
pip install $(cat requirements/modules/*.txt | cut -d ' ' -f 1 | sort -u) pip install $(cat requirements/modules/*.txt | cut -d ' ' -f 1 | sort -u)
- name: Install Code Climate dependency
run: |
curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
chmod +x ./cc-test-reporter
./cc-test-reporter before-build
- name: Run tests - name: Run tests
run: | run: |
coverage run --source=. -m pytest tests -v coverage run --source=. -m pytest tests -v