Skip to content

Merge pull request #32 from olirice/mypyc-badge #123

Merge pull request #32 from olirice/mypyc-badge

Merge pull request #32 from olirice/mypyc-badge #123

Workflow file for this run

name: tests
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11']
steps:
- uses: actions/checkout@v1
- name: python setup ${{ matrix.python-version }}
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
- name: install flupy
run: |
python -m pip install --upgrade pip
pip install -e ".[dev]"
- name: run tests
run: |
pytest --cov=src/flupy src/tests --cov-report=xml
- name: upload coverage to codecov
uses: codecov/codecov-action@v1
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: ./coverage.xml
flags: unittests
name: codecov-umbrella
fail_ci_if_error: true