Skip to content

Make the Documentation #38

Make the Documentation

Make the Documentation #38

Workflow file for this run

name: Coerage Report
on:
pull_request:
push:
branches: [ main ]
workflow_dispatch:
schedule:
- cron: 0 7 * * 1 # 7 A.M. mon
concurrency:
group: coverage-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: read
jobs:
tests:
name: Coverage
runs-on: ubuntu-latest
if: "!(contains(github.event.head_commit.message, '[skip ci]') || contains(github.event.head_commit.message, '[ci skip]'))"
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up Python 3.11
uses: actions/setup-python@v4
with:
python-version: "3.11"
cache: pip
cache-dependency-path: '**/pyproject.toml'
- name: Install base dependencies
run: |
python -m pip install --upgrade --quiet pip setuptools
- name: Install package dependencies
run: pip install -U .[test]
- name: Run tests
run: python -m coverage run -m unittest discover -p 'test_*.py' -v
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}