Skip to content

Commit

Permalink
Merge branch 'master' of github.com:arvkevi/kneed into JimPrudent/master
Browse files Browse the repository at this point in the history
  • Loading branch information
arvkevi committed May 14, 2022
2 parents 88484c7 + 63a8bac commit 6d80768
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 21 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: Unit tests and coverage

on: [push]

jobs:
build:

runs-on: ${{ matrix.os }}
strategy:
matrix:
python-version: ["3.6", "3.7", "3.8", "3.9", "3.10"]
os: [ubuntu-latest, macos-latest, windows-latest]
env:
OS: ${{ matrix.os }}
PYHTHON: ${{ matrix.python-version }}
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pytest pytest-cov
pip install -r requirements.txt
pip install -e .
- name: Generate coverage report
run: |
pytest --cov-report=xml
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v2
with:
env_vars: OS,PYTHON
fail_ci_if_error: true
flags: unittests
name: codecov-umbrella
20 changes: 0 additions & 20 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ This repository is an attempt to implement the kneedle algorithm, published [her
- [Citation](#citation)

## Installation
`kneed` has been tested with Python 3.5, 3.6, 3.7 and 3.8.
`kneed` has been tested with Python 3.5, 3.6, 3.7, 3.8, 3.9, and 3.10.

**anaconda**
```bash
Expand Down

0 comments on commit 6d80768

Please sign in to comment.