Skip to content

Commit

Permalink
Merge branch 'master' of github.com:dedupeio/dedupe-variable-datetime
Browse files Browse the repository at this point in the history
  • Loading branch information
fgregg committed Dec 11, 2022
2 parents 0c211dc + 6348491 commit fcd36af
Show file tree
Hide file tree
Showing 2 changed files with 48 additions and 36 deletions.
48 changes: 48 additions & 0 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@

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
36 changes: 0 additions & 36 deletions .travis.yml

This file was deleted.

0 comments on commit fcd36af

Please sign in to comment.