kopia lustrzana https://github.com/Yakifo/amqtt
setup coveralls
rodzic
71a2713ef2
commit
a19f37dac7
|
@ -26,7 +26,7 @@ jobs:
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
python -m pip install --upgrade pip
|
python -m pip install --upgrade pip
|
||||||
python -m pip install flake8 pytest pytest-asyncio
|
python -m pip install flake8 pytest pytest-asyncio pytest-cov coveralls
|
||||||
python -m pip install .
|
python -m pip install .
|
||||||
- name: Lint with flake8
|
- name: Lint with flake8
|
||||||
run: |
|
run: |
|
||||||
|
@ -36,4 +36,10 @@ jobs:
|
||||||
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
|
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
|
||||||
- name: Test with pytest
|
- name: Test with pytest
|
||||||
run: |
|
run: |
|
||||||
pytest
|
pytest --cov hbmqtt --cov tests --cov-report=term --cov-report=xml
|
||||||
|
|
||||||
|
- name: Upload coverage data to coveralls.io
|
||||||
|
run: |
|
||||||
|
coveralls --service=github
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
Ładowanie…
Reference in New Issue