File tree Expand file tree Collapse file tree 1 file changed +12
-3
lines changed Expand file tree Collapse file tree 1 file changed +12
-3
lines changed Original file line number Diff line number Diff line change 5656 if : " ${{ success() }}"
5757 with :
5858 github-token : " ${{ secrets.GITHUB_TOKEN }}"
59- flag-name : " python-${{ matrix.python }}"
59+ flag-name : " python-${{ matrix.python-version }}"
6060 parallel : true
6161 format : cobertura
6262 files : coverage.xml
@@ -71,11 +71,20 @@ jobs:
7171 uses : actions/checkout@v5
7272 - name : Install package
7373 run : |
74- pip install --upgrade pip setuptools
74+ pip install --upgrade pip setuptools coverage
7575 pip install .
7676 - name : Run tests (unittest)
7777 run : |
78- python -m unittest discover -v || true
78+ make coverage
79+ - name : Coveralls upload
80+ uses : coverallsapp/github-action@v2
81+ if : " ${{ success() }}"
82+ with :
83+ github-token : " ${{ secrets.GITHUB_TOKEN }}"
84+ flag-name : " python-2.7"
85+ parallel : true
86+ format : cobertura
87+ files : coverage.xml
7988 - name : Legacy note
8089 run : echo "Python 2.7 run completed (non-blocking)."
8190
You can’t perform that action at this time.
0 commit comments