Skip to content

Add files via upload #43

Add files via upload

Add files via upload #43

Workflow file for this run

name: test
on: [push, pull_request]
jobs:
pytest:
name: pytest
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.7]
steps:
- name: Set up Python
uses: actions/setup-python@v1
with:
python-version: 3.7
- name: Checkout 🛎️
uses: actions/checkout@v2
- name: Install Dependencies
run: |
pip install -U pytest pytest-cov
pip install -U -r src/requirements.txt
- name: Testing
run: |
PYTHONPATH=src/ pytest tests/ --cov=mylib --cov-report=xml
- name: Upload to Codecov
uses: codecov/codecov-action@v2
with:
files: ./coverage.xml,
fail_ci_if_error: true
verbose: true