update workflow: tests

This commit is contained in:
Aryan Iyappan 2021-08-19 15:00:09 +05:30
parent 8ae4369155
commit 0e4c14b076

View File

@ -44,7 +44,7 @@ jobs:
id: pip-cache
run: echo "::set-output name=dir::$(pip cache dir)"
- name: cache pip
- name: cache pip dependencies
uses: actions/cache@v2
with:
path: ${{ steps.pip-cache.outputs.dir }}
@ -53,25 +53,23 @@ jobs:
- run: pip install tox
- run: tox -e ${{ matrix.tox }}
coveralls:
coveralls_finish:
# check coverage increase/decrease
needs: tests
runs-on: "ubuntu-latest"
runs-on: ubuntu-latest
steps:
- name: Coveralls Finished
uses: AndreMiras/coveralls-python-action@develop
with:
parallel-finished: true
deploy:
# builds and publishes to PyPi
runs-on: "ubuntu-latest"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: "3.7"
python-version: '3.7'
- name: Install dependencies
run: |
python -m pip install --upgrade pip