Make Moto (tests) compatible with flask/werkzeug 2.x (#3923)
* Dont fail if CodeCov fails - for now
* CI - Force cache rebuild
* Bump werkzeug to latest version
* CI - Enforce cache flush
* ManagedBlockchain - fix error format
* ManagedBlockchain - Fix tests to use pytest.raises paradigm
* Revert "Lock Flask (#3925)"
This reverts commit 8bb0feb956.
* CI - Enforce cache rebuild
This commit is contained in:
parent
8bb0feb956
commit
9e3faf7784
11 changed files with 599 additions and 317 deletions
12
.github/workflows/build.yml
vendored
12
.github/workflows/build.yml
vendored
|
|
@ -26,7 +26,7 @@ jobs:
|
|||
uses: actions/cache@v2
|
||||
with:
|
||||
path: ${{ steps.pip-cache-dir.outputs.dir }}
|
||||
key: pip-${{ matrix.python-version }}-${{ hashFiles('**/setup.py') }}
|
||||
key: pip-${{ matrix.python-version }}-${{ hashFiles('**/setup.py') }}-4
|
||||
- name: Update pip
|
||||
if: ${{ steps.pip-cache.outputs.cache-hit != 'true' && matrix.python-version != '2.7' }}
|
||||
run: |
|
||||
|
|
@ -58,7 +58,7 @@ jobs:
|
|||
uses: actions/cache@v2
|
||||
with:
|
||||
path: ${{ steps.pip-cache.outputs.dir }}
|
||||
key: pip-${{ matrix.python-version }}-${{ hashFiles('**/setup.py') }}
|
||||
key: pip-${{ matrix.python-version }}-${{ hashFiles('**/setup.py') }}-4
|
||||
# Update PIP - recent version does not support PY2 though
|
||||
- name: Update pip
|
||||
if: ${{ matrix.python-version != '2.7' }}
|
||||
|
|
@ -97,7 +97,7 @@ jobs:
|
|||
uses: actions/cache@v2
|
||||
with:
|
||||
path: ${{ steps.pip-cache.outputs.dir }}
|
||||
key: pip-${{ matrix.python-version }}-${{ hashFiles('**/setup.py') }}
|
||||
key: pip-${{ matrix.python-version }}-${{ hashFiles('**/setup.py') }}-4
|
||||
- name: Update pip
|
||||
if: ${{ matrix.python-version != '2.7' }}
|
||||
run: |
|
||||
|
|
@ -113,7 +113,7 @@ jobs:
|
|||
if: ${{ github.repository == 'spulec/moto'}}
|
||||
uses: codecov/codecov-action@v1
|
||||
with:
|
||||
fail_ci_if_error: true
|
||||
fail_ci_if_error: false
|
||||
flags: unittests
|
||||
|
||||
testserver:
|
||||
|
|
@ -145,7 +145,7 @@ jobs:
|
|||
uses: actions/cache@v2
|
||||
with:
|
||||
path: ${{ steps.pip-cache.outputs.dir }}
|
||||
key: pip-${{ matrix.python-version }}-${{ hashFiles('**/setup.py') }}
|
||||
key: pip-${{ matrix.python-version }}-${{ hashFiles('**/setup.py') }}-4
|
||||
- name: Update pip
|
||||
if: ${{ matrix.python-version != '2.7' }}
|
||||
run: |
|
||||
|
|
@ -162,7 +162,7 @@ jobs:
|
|||
if: ${{ github.repository == 'spulec/moto'}}
|
||||
uses: codecov/codecov-action@v1
|
||||
with:
|
||||
fail_ci_if_error: true
|
||||
fail_ci_if_error: false
|
||||
flags: servertests
|
||||
|
||||
deploy:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue