Skip to content

Add Comprehensive Logging System to ABCParse #56

Add Comprehensive Logging System to ABCParse

Add Comprehensive Logging System to ABCParse #56

Workflow file for this run

name: Python Tests
on:
push:
branches: [main, master]
pull_request:
branches: [main, master]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.8, 3.9, '3.10', '3.11']
steps:
- name: Check out repository
uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install pytest pytest-cov
pip install -e .
- name: Run tests with coverage
run: |
pytest tests/test_ABCParse.py tests/test_logging.py --cov=ABCParse --cov-report=xml
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
with:
file: ./coverage.xml
fail_ci_if_error: false