Skip to content

Bump levenshtein from 0.25.1 to 0.26.1 #392

Bump levenshtein from 0.25.1 to 0.26.1

Bump levenshtein from 0.25.1 to 0.26.1 #392

Workflow file for this run

name: ci
on:
push:
paths-ignore:
- "docs/**"
jobs:
test:
name: test py${{ matrix.python-version }} on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
python-version: ['3.8', '3.9', '3.10']
os: [ubuntu-latest, windows-latest, macOS-latest]
include:
- os: ubuntu-latest
path: ~/.cache/pip
- os: macos-latest
path: ~/Library/Caches/pip
- os: windows-latest
path: ~\AppData\Local\pip\Cache
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- uses: actions/cache@v2
with:
path: ${{ matrix.path }}
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
restore-keys: |
${{ runner.os }}-pip-
- run: pip install -r ci-requirements.txt
- run: python -m pip install --editable .
- run: python -m unittest
coverage:
name: upload test coverage to codecov
if: success() && github.ref == 'refs/heads/main'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: 3.8
- uses: actions/cache@v2
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
restore-keys: |
${{ runner.os }}-pip-
- run: pip install -r ci-requirements.txt
- run: python -m pip install --editable .
- run: coverage run -m unittest
- uses: codecov/codecov-action@v1