Skip to content

adds run tests with coverage to codecov yaml #13

adds run tests with coverage to codecov yaml

adds run tests with coverage to codecov yaml #13

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