Skip to content

Commit

Permalink
Merge 9d438aa into 8a1b04f
Browse files Browse the repository at this point in the history
  • Loading branch information
deanishe committed May 20, 2020
2 parents 8a1b04f + 9d438aa commit 3f9d979
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 7 deletions.
15 changes: 10 additions & 5 deletions .github/run-tests.yml → .github/workflows/run-tests.yml
Expand Up @@ -11,6 +11,9 @@ on:

jobs:
run:
env:
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
CODACY_PROJECT_TOKEN: ${{ secrets.CODACY_PROJECT_TOKEN }}
runs-on: macos-latest
strategy:
matrix:
Expand All @@ -23,23 +26,25 @@ jobs:
with:
python-version: ${{ matrix.python-version }}

- name: Install dependencies
- name: Install test dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements-test.txt
pip install -r requirements-ci.txt
- name: Lint
run: ./run-tests.sh -l

- name: Unit tests
run: ./run-tests.sh

- name: Install coverage dependencies
run: pip install -r requirements-ci.txt

- name: Codacy
run: python-codacy-coverage -r coverage.xml
run: python-codacy-coverage -r coverage.xml -c ${{ github.sha }} || exit 0

- name: Coveralls
run: coveralls
run: coveralls || exit 0

- name: Codecov
run: bash <(curl -s https://codecov.io/bash)
run: bash <(curl -s https://codecov.io/bash) || exit 0
2 changes: 0 additions & 2 deletions requirements-test.txt
Expand Up @@ -3,7 +3,5 @@ pytest==4.6.10
pytest-cov==2.8.1
pytest-httpbin==1.0.0
pytest-localserver==0.5.0
# tox==3.15.1
# twine==1.15.0
flake8==3.8.1
flake8-docstrings==1.5.0

0 comments on commit 3f9d979

Please sign in to comment.