Skip to content
This repository has been archived by the owner on May 13, 2024. It is now read-only.

Parse qualifier info #6

Parse qualifier info

Parse qualifier info #6

Workflow file for this run

name: Unit test
on:
pull_request:
branches: main
push:
branches: main
jobs:
build:
name: unit test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
pip install -e ".[test]"
- name: Running Unit tests
run: |
pytest tests/ --doctest-modules --cov=src --cov-report=xml
- name: Code Coverage Summary Report
uses: irongut/CodeCoverageSummary@v1.3.0
with:
filename: coverage.xml
badge: true
format: 'markdown'
output: 'both'
- name: Write to Job Summary
run: cat code-coverage-results.md >> $GITHUB_STEP_SUMMARY