Skip to content

Merge pull request #18 from oamg/feat/replace-prints-by-logging #85

Merge pull request #18 from oamg/feat/replace-prints-by-logging

Merge pull request #18 from oamg/feat/replace-prints-by-logging #85

Workflow file for this run

name: Unit Tests
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
tests:
runs-on: ubuntu-latest
container:
image: python:2.7
steps:
- uses: actions/checkout@v3
- name: Install requirements
run: pip install --upgrade -r requirements.txt
- name: Test
run: python -m pytest --cov --cov-report=xml
- name: Upload coverage to Codecov
id: UploadFirstAttempt
continue-on-error: true
uses: codecov/codecov-action@v4
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
with:
fail_ci_if_error: true
files: ./coverage.xml
verbose: true # optional (default = false)