Skip to content

Typing changes (#10) #12

Typing changes (#10)

Typing changes (#10) #12

name: Code Coverage
on:
push:
branches:
- 'main'
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.11"]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Upgrade pip
run: |
python -m pip install --upgrade pip
- name: Install from setup.py
run: |
python -m pip install .
- name: Install from test requirements
run: |
python -m pip install -r requirements-test.txt
- name: Test and generate coverage report
run: |
python -m pytest --cov=caseless_dictionary --cov-report=xml --doctest-modules
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }} # not required for public repos