Skip to content

Commit

Permalink
upgrade code convergence flow
Browse files Browse the repository at this point in the history
  • Loading branch information
dothinking committed Jan 20, 2024
1 parent 5e48dbe commit 4efaf4c
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,18 +43,17 @@ jobs:
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install pytest pytest-cov codecov
pip install pytest pytest-cov
python setup.py develop
- name: Run unit test
run: |
pytest -v ./test/test.py::TestConversion --cov=./pdf2docx --cov-report=xml
- name: Upload coverage reports to Codecov
run: |
codecov
env: # Or as an environment variable
super_secret: ${{ secrets.CODECOV_TOKEN }}
uses: codecov/codecov-action@v3
with: # Or as an environment variable
token: ${{ secrets.CODECOV_TOKEN }}

# upload docx for further job
- name: Archive package
Expand Down

0 comments on commit 4efaf4c

Please sign in to comment.