mirror of
https://github.com/graphql-python/graphene.git
synced 2025-02-08 23:50:38 +03:00
update workflow: tests
This commit is contained in:
parent
8ae4369155
commit
0e4c14b076
12
.github/workflows/tests.yml
vendored
12
.github/workflows/tests.yml
vendored
|
@ -44,7 +44,7 @@ jobs:
|
||||||
id: pip-cache
|
id: pip-cache
|
||||||
run: echo "::set-output name=dir::$(pip cache dir)"
|
run: echo "::set-output name=dir::$(pip cache dir)"
|
||||||
|
|
||||||
- name: cache pip
|
- name: cache pip dependencies
|
||||||
uses: actions/cache@v2
|
uses: actions/cache@v2
|
||||||
with:
|
with:
|
||||||
path: ${{ steps.pip-cache.outputs.dir }}
|
path: ${{ steps.pip-cache.outputs.dir }}
|
||||||
|
@ -53,25 +53,23 @@ jobs:
|
||||||
- run: pip install tox
|
- run: pip install tox
|
||||||
- run: tox -e ${{ matrix.tox }}
|
- run: tox -e ${{ matrix.tox }}
|
||||||
|
|
||||||
coveralls:
|
coveralls_finish:
|
||||||
# check coverage increase/decrease
|
# check coverage increase/decrease
|
||||||
needs: tests
|
needs: tests
|
||||||
runs-on: "ubuntu-latest"
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Coveralls Finished
|
- name: Coveralls Finished
|
||||||
uses: AndreMiras/coveralls-python-action@develop
|
uses: AndreMiras/coveralls-python-action@develop
|
||||||
with:
|
|
||||||
parallel-finished: true
|
|
||||||
|
|
||||||
deploy:
|
deploy:
|
||||||
# builds and publishes to PyPi
|
# builds and publishes to PyPi
|
||||||
runs-on: "ubuntu-latest"
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: Set up Python
|
- name: Set up Python
|
||||||
uses: actions/setup-python@v2
|
uses: actions/setup-python@v2
|
||||||
with:
|
with:
|
||||||
python-version: "3.7"
|
python-version: '3.7'
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
python -m pip install --upgrade pip
|
python -m pip install --upgrade pip
|
||||||
|
|
Loading…
Reference in New Issue
Block a user