Skip to content

Fix documentation for marker. #302

Fix documentation for marker.

Fix documentation for marker. #302

Workflow file for this run

name: CI
on: [push]
jobs:
test:
strategy:
fail-fast: false
max-parallel: 6
matrix:
python-version: [3.7, 3.8, 3.9, "3.10"]
os: [ubuntu-latest, windows-latest, macOS-latest]
include:
- os: ubuntu-latest
python-version: 3.5
- os: ubuntu-latest
python-version: 3.6
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Setup build and test environment
run: |
python -m pip install --upgrade pip setuptools wheel
- name: Build Python Package
run: |
python -m pip install -r requirements-dev.txt
- name: Update pytest on Python3.10
if: ${{ matrix.python-version == '3.10' }}
run: |
python -m pip install pytest==7.0.1
- name: Unit Test with pytest
run: |
coverage run -p --source radish -m pytest tests/unit/ --junitxml=junit/unit-test-results.xml
- name: Functional Test with pytest
run: |
coverage run -p --source radish -m pytest tests/functional/ --junitxml=junit/functional-test-results.xml
- name: Integration Test with pytest
run: |
coverage run -p --source radish -m pytest tests/integration/ --junitxml=junit/integration-test-results.xml
env:
PYTHONIOENCODING: UTF-8
- name: Report code coverage
run: |
coverage combine
coverage report
coverage xml
coverage html
- name: Upload coverage to Codecov
# codecov only runs on Linux
if: startsWith(matrix.os, 'ubuntu-')
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: ./coverage.xml
flags: unittests
name: codecov-umbrella