Skip to content

Commit

Permalink
Merge pull request #6 from DNA-and-Natural-Algorithms-Group/workflow-cov
Browse files Browse the repository at this point in the history
testing coverage
  • Loading branch information
bad-ants-fleet committed Feb 14, 2023
2 parents 488ff48 + a18f8fb commit 41aad4e
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 22 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.8", "3.9", "3.10"]
python-version: ["3.8", "3.9", "3.10", "3.11"]

steps:
- uses: actions/checkout@v3
Expand All @@ -27,7 +27,8 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install flake8 pytest flit
python -m pip install flake8 pytest pytest-cov flit
python -m pip install libroadrunner
python -m pip install .
- name: Lint with flake8
run: |
Expand All @@ -38,4 +39,7 @@ jobs:
# flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
- name: Test with pytest
run: |
pytest
pytest --cov-report term --cov=peppercornenumerator/
- name: Upload coverage
uses: codecov/codecov-action@v3
if: ${{ success() }}
18 changes: 0 additions & 18 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 @@ -4,7 +4,7 @@
[![GitHub release (latest by date including pre-releases)](https://img.shields.io/github/v/release/dna-and-natural-algorithms-group/peppercornenumerator?include_prereleases)](https://github.com/dna-and-natural-algorithms-group/peppercornenumerator/releases)
[![PyPI version](https://badge.fury.io/py/peppercornenumerator.svg)](https://badge.fury.io/py/peppercornenumerator)
[![PyPI - License](https://img.shields.io/pypi/l/peppercornenumerator)](https://opensource.org/licenses/MIT)
[![Travis (.org)](https://api.travis-ci.com/dna-and-natural-algorithms-group/peppercornenumerator.svg)](https://travis-ci.com/github/dna-and-natural-algorithms-group/peppercornenumerator)
![build](https://github.com/DNA-and-Natural-Algorithms-Group/peppercornenumerator/actions/workflows/python-package.yml/badge.svg)
[![Codecov](https://img.shields.io/codecov/c/github/dna-and-natural-algorithms-group/peppercornenumerator)](https://codecov.io/gh/dna-and-natural-algorithms-group/peppercornenumerator)


Expand Down

0 comments on commit 41aad4e

Please sign in to comment.