File tree Expand file tree Collapse file tree 5 files changed +130
-117
lines changed
Expand file tree Collapse file tree 5 files changed +130
-117
lines changed Original file line number Diff line number Diff line change 1- name : Run Unit Tests
1+ name : Run Pytest
22
33on :
44 push :
88 - " !main"
99
1010jobs :
11- run_tests :
11+ pytest :
1212 runs-on : ubuntu-latest
1313 strategy :
1414 matrix :
3232
3333 - name : Run tests
3434 run : |
35- python -m poetry run coverage run --omit=./tests/* --source=./ddcLogs - m pytest -v
35+ python -m poetry run coverage run --omit=./tests/* -m pytest -v
3636
3737 - name : Generate Coverage Report
3838 run : |
4343 uses : codecov/codecov-action@v5
4444 with :
4545 token : ${{ secrets.CODECOV_TOKEN }}
46+ slug : ddc/ddcLogs
Original file line number Diff line number Diff line change 3131
3232 - name : Run tests
3333 run : |
34- python -m poetry run coverage run --omit=./tests/* --source=./ddcLogs - m pytest -v
34+ python -m poetry run coverage run --omit=./tests/* -m pytest -v
3535
3636 - name : Generate Coverage Report
3737 run : |
4242 uses : codecov/codecov-action@v5
4343 with :
4444 token : ${{ secrets.CODECOV_TOKEN }}
45+ slug : ddc/ddcLogs
4546
4647 - name : Build package
4748 run : |
Original file line number Diff line number Diff line change 11# Easy logs with rotations
22
3+ [ ![ Donate] ( https://img.shields.io/badge/Donate-PayPal-brightgreen.svg?style=plastic )] ( https://www.paypal.com/ncp/payment/6G9Z78QHUD4RJ )
34[ ![ License] ( https://img.shields.io/pypi/l/ddclogs )] ( https://github.com/ddc/ddcLogs/blob/master/LICENSE )
4- [ ![ Python] ( https://img.shields.io/pypi/pyversions/ddclogs.svg )] ( https://www.python.org )
55[ ![ PyPi] ( https://img.shields.io/pypi/v/ddcLogs.svg )] ( https://pypi.python.org/pypi/ddcLogs )
66[ ![ PyPI Downloads] ( https://static.pepy.tech/badge/ddcLogs )] ( https://pepy.tech/projects/ddclogs )
77[ ![ codecov] ( https://codecov.io/github/ddc/ddcLogs/graph/badge.svg?token=3MEPITZKYN )] ( https://codecov.io/github/ddc/ddcLogs )
88[ ![ Code style: black] ( https://img.shields.io/badge/code%20style-black-000000.svg )] ( https://github.com/psf/black )
99[ ![ Build Status] ( https://img.shields.io/endpoint.svg?url=https%3A//actions-badge.atrox.dev/ddc/ddcLogs/badge?ref=main&label=build&logo=none )] ( https://actions-badge.atrox.dev/ddc/ddcLogs/goto?ref=main )
10+ [ ![ Python] ( https://img.shields.io/pypi/pyversions/ddclogs.svg )] ( https://www.python.org )
1011
1112
1213
You can’t perform that action at this time.
0 commit comments