File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -18,19 +18,17 @@ jobs:
1818 pip install pytest
1919 pip install pytest-asyncio
2020 pip install coverage
21- pip install coveragepy-lcov
21+ pip install coveralls
2222 pip install .
2323 - name : Calculate coverage
2424 env :
2525 API_KEY : ${{ secrets.TRACKUNIT_API_KEY }}
2626 run : |
2727 echo $API_KEY | python -c $'import sys\nkey = sys.stdin.readline().strip()\nif len(key) == 32:\n open("api.key","w").write(key)\nelse:\n print("wrong length "+str(len(key)))\n sys.exit(1)\n'
2828 coverage run -m --source=pytrackunit pytest -x --ignore=tests\test_real_data.py
29- - name : Convert to LCOV-file
29+ - name : Upload to coveralls
30+ env :
31+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
3032 run : |
31- coveragepy-lcov
32- - name : Coveralls GitHub Action
33- uses : coverallsapp/github-action@1.1.3
34- with :
35- github-token : ${{ secrets.GITHUB_TOKEN }}
33+ coveralls --service=github
3634
You can’t perform that action at this time.
0 commit comments