Skip to content

Merge pull request #7 from LuisA92/patch-2 #36

Merge pull request #7 from LuisA92/patch-2

Merge pull request #7 from LuisA92/patch-2 #36

Workflow file for this run

name: Build
on: [push]
jobs:
build:
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, 'skip ci')"
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.9
uses: actions/setup-python@v1
with:
python-version: 3.9
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python setup.py install
- name: Test with pytest
run: |
python setup.py test
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: ./coverage.xml
flags: unittests