Skip to content

publish-python-package.yml (#425) #4

publish-python-package.yml (#425)

publish-python-package.yml (#425) #4

Workflow file for this run

# The tests runs and will return in JUnit format while the code coverage results are emitted in Coverage.
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Test with pytest
run: |
pip install pytest pytest-cov
pytest tests.py --doctest-modules --junitxml=junit/test-results.xml --cov=com --cov-report=xml --cov-report=html