Merge pull request #93 from benhiller/esc_seq #31
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CodeCov | |
on: [push, pull_request] | |
jobs: | |
codecov-build-with-regex: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
fetch-depth: '2' | |
- name: Setup Python | |
uses: actions/setup-python@master | |
with: | |
python-version: '3.x' | |
- name: Install Dependencies | |
run: | | |
pip install regex | |
python setup.py install | |
- name: Generate Coverage Report | |
run: | | |
pip install coverage | |
coverage run -m unittest | |
- name: Upload Coverage to Codecov | |
uses: codecov/codecov-action@v2 |