Skip to content

adds codecov to github workflows and badge to readme #16

adds codecov to github workflows and badge to readme

adds codecov to github workflows and badge to readme #16

Workflow file for this run

name: Unit Tests
on:
push:
branches:
- '**'
pull_request:
branches:
- '**'
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.x"
- name: Install Dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Install pytest
run: pip install pytest
- name: Run Unit Tests
run: pytest --junitxml=test-results.xml
- name: Upload Test Results
uses: actions/upload-artifact@v4
with:
name: Test Results
path: test-results.xml