File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -56,16 +56,26 @@ jobs:
5656 python -m pip install --upgrade pip wheel
5757 pip install -e ".[dev]"
5858
59- - name : Run pytest
60- run : python -m pytest tests/ -v
59+ - name : Produce coverage report
60+ if : matrix.build == 'linux_3.9'
61+ run : pytest --cov=psqlpy_sqlalchemy --cov-report=xml
6162
62- - name : Run tests and collect coverage
63- run : pytest --cov .
64-
65- - name : Upload coverage reports to Codecov
66- uses : codecov/codecov-action@v5
63+ - name : Upload coverage report
64+ if : matrix.build == 'linux_3.9'
65+ uses : codecov/codecov-action@v1
6766 with :
68- token : ${{ secrets.CODECOV_TOKEN }}
67+ file : ./coverage.xml
68+
69+ # - name: Run pytest
70+ # run: python -m pytest tests/ -v
71+ #
72+ # - name: Run tests and collect coverage
73+ # run: pytest --cov .
74+ #
75+ # - name: Upload coverage reports to Codecov
76+ # uses: codecov/codecov-action@v5
77+ # with:
78+ # token: ${{ secrets.CODECOV_TOKEN }}
6979
7080 lint :
7181 name : lint
You can’t perform that action at this time.
0 commit comments