File: coverage.yml

package info (click to toggle)
python-titlecase 2.4.1-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 112 kB
  • sloc: python: 547; makefile: 4
file content (24 lines) | stat: -rw-r--r-- 581 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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