Skip to content

update for new dedupe data model pattern #7

update for new dedupe data model pattern

update for new dedupe data model pattern #7

name: tests
on: [push]
jobs:
test:
continue-on-error: ${{ matrix.python-version == '3.10' }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [windows-latest, macos-latest, ubuntu-latest]
python-version: [3.7, 3.8, 3.9, "3.10"]
steps:
- uses: actions/checkout@v1
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
pip install --upgrade pip
pip install https://github.com/dedupeio/dedupe/archive/refs/heads/pluggy-variables.zip
pip install -e .
- name: Test with pytest
run: |
pip install pytest
pytest
wheels:
needs: test
name: Build wheels
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
- name: Build sdist
run: |
pip install wheel setuptools build
python -m build
- name: Publish wheels to PyPI
env:
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
run: |
pip install twine
twine upload dist/*
continue-on-error: true