Revert "[autotest] remove code climate dependency"
This reverts commit 61ebc3aea6
.
This commit is contained in:
parent
a78403d3e8
commit
921ddb64f0
1 changed files with 5 additions and 0 deletions
5
.github/workflows/autotest.yml
vendored
5
.github/workflows/autotest.yml
vendored
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue