-
-
Notifications
You must be signed in to change notification settings - Fork 948
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(CI): work around Sphinx and codecov-action issues
- Loading branch information
Showing
5 changed files
with
25 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -40,6 +40,8 @@ jobs: | |
steps: | ||
- name: Checkout repo | ||
uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 2 | ||
|
||
- name: Set up Python | ||
uses: actions/[email protected] | ||
|
@@ -65,11 +67,7 @@ jobs: | |
FALCON_ASGI_WRAP_NON_COROUTINES: Y | ||
FALCON_TESTING_SESSION: Y | ||
run: | | ||
# TODO(kgriffs): Revisit second half of 2021 to see if we still need to pin tox | ||
# | ||
# See also: https://github.com/tox-dev/tox/issues/1777 | ||
# | ||
pip install 'tox==3.20' | ||
pip install tox | ||
tox -e wheel_check -- ${{ matrix.pytest-extra }} | ||
- name: Get wheel name | ||
|
@@ -132,6 +130,8 @@ jobs: | |
steps: | ||
- name: Checkout repo | ||
uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 2 | ||
|
||
- name: Get python version | ||
id: linux-py-version | ||
|
@@ -181,7 +181,7 @@ jobs: | |
FALCON_ASGI_WRAP_NON_COROUTINES: Y | ||
FALCON_TESTING_SESSION: Y | ||
run: | | ||
pip install 'tox==3.20' | ||
pip install tox | ||
tox -e wheel_check -- ${{ matrix.pytest-extra }} | ||
- name: Get wheel names | ||
|
@@ -255,6 +255,8 @@ jobs: | |
steps: | ||
- name: Checkout repo | ||
uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 2 | ||
|
||
- name: Set up Python | ||
uses: actions/[email protected] | ||
|
@@ -325,6 +327,8 @@ jobs: | |
steps: | ||
- name: Checkout repo | ||
uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 2 | ||
|
||
- name: Cache wheels | ||
uses: actions/cache@v2 | ||
|
@@ -357,7 +361,7 @@ jobs: | |
args: | | ||
bash -c " | ||
export PATH=/opt/python/${{ matrix.python-version }}/bin:$PATH && | ||
pip install 'tox==3.20' 'pip>=20' && | ||
pip install tox 'pip>=20' && | ||
tox -e wheel_check -- ${{ matrix.pytest-extra }} | ||
" | ||
|
@@ -381,7 +385,7 @@ jobs: | |
args: | | ||
bash -c " | ||
export PATH=/opt/python/${{ matrix.python-version }}/bin:$PATH && | ||
pip install 'tox==3.20' 'pip>=20' && | ||
pip install tox 'pip>=20' && | ||
tox -e wheel_check -- ${{ matrix.pytest-extra }} | ||
" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -80,6 +80,10 @@ jobs: | |
steps: | ||
- name: Checkout repo | ||
uses: actions/checkout@v2 | ||
# NOTE(vytas): Work around | ||
# https://github.com/codecov/codecov-action/issues/190 | ||
with: | ||
fetch-depth: 2 | ||
|
||
- name: Set up Python | ||
uses: actions/[email protected] | ||
|
@@ -113,7 +117,7 @@ jobs: | |
- name: Install dependencies | ||
run: | | ||
python -m pip install --upgrade pip | ||
pip install coverage tox==3.20 | ||
pip install coverage tox | ||
python --version | ||
pip --version | ||
tox --version | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters