Removing the coverage action #24
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Run Python tests | |
on: [push, pull_request] | |
permissions: read-all | |
jobs: | |
test: | |
name: Run tests | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: ["3.9.19"] | |
steps: | |
- uses: szenius/[email protected] | |
with: | |
timezoneLinux: "Europe/Berlin" | |
- uses: actions/checkout@v3 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install test dependencies | |
run: pip install pytest pytest-md pytest-emoji pytest-cov | |
- name: Install app dependencies | |
run: pip install urnparse packageurl-python dnspython | |
- uses: pavelzw/pytest-action@v2 | |
with: | |
emoji: false | |
verbose: false | |
job-summary: true | |
custom-arguments: "--cov=./ \ | |
--cov-report html \ | |
--cov-report term \ | |
--cov-report xml \ | |
--junit-xml=pytest-report.xml \ | |
-s -v " | |
- run: mkdir -p artifact | |
- run: mv coverage.xml artifact/coverage.xml | |
- run: ls -l artifact/* | |
- uses: actions/upload-artifact@master | |
with: | |
name: tei-coverage | |
path: artifact | |
- uses: actions/upload-artifact@master | |
with: | |
name: tei-coverage-html | |
path: htmlcov |