Skip to content

Adapting tests and python versions #83

Adapting tests and python versions

Adapting tests and python versions #83

Workflow file for this run

name: Codecov workflow
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
name: Test code coverage
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: '3.9'
- name: Install requirements
run: pip install -r requirements.txt pytest-cov coverage DeepDiff
- name: Build yatter
run: |
cd src
pip install .
- name: Run tests and collect coverage
run: coverage run --source yatter -m pytest
- name: Upload coverage reports to Codecov with GitHub Action
uses: codecov/codecov-action@v3