Skip to content

Commit

Permalink
Merge deeee11 into 77d4bce
Browse files Browse the repository at this point in the history
  • Loading branch information
wirfeon committed Feb 6, 2020
2 parents 77d4bce + deeee11 commit d150745
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 35 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ jobs:
python -m pip install --upgrade pip
pip install tox tox-gh-actions
- name: Run tox
run: tox -c tox-push.ini
run: tox -e base,mypy,flake8,flake8_tests
24 changes: 24 additions & 0 deletions .github/workflows/coveralls.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Coveralls
on: ["push", "pull_request"]

jobs:
coverage:
name: Check Test Coverage
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Setup Python 3.7
uses: actions/setup-python@v1
with:
python-version: '3.7'
- name: Install Dependencies
run: |
python -m pip install --upgrade pip
pip install tox tox-gh-actions coveralls
- name: Run tox
run: tox -e coverage
- name: Publish to coveralls
if: success()
run: coveralls
env:
COVERALLS_REPO_TOKEN: ${{ secrets.coveralls_repo_token }}
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
pip install wheel tox tox-gh-actions
- name: Run tox
run: |
tox -c tox-publish.ini
tox
- name: Install project
run: |
python setup.py install
Expand Down
32 changes: 0 additions & 32 deletions tox-push.ini

This file was deleted.

2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ envlist =

[gh-actions]
python =
3.7: base, mypy, flake8, flake8_tests
3.7: base, ed25519, random, coverage, bandit, radon, mypy, flake8, flake8_tests

[testenv]
basepython = python3.7
Expand Down

0 comments on commit d150745

Please sign in to comment.