-
-
Notifications
You must be signed in to change notification settings - Fork 275
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Restore custom distutils handling for resolving paths to submodules. (#…
- Loading branch information
1 parent
8f7f078
commit 62aa3bb
Showing
4 changed files
with
56 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,33 @@ | ||
name: Release tests | ||
|
||
on: workflow_dispatch | ||
|
||
env: | ||
DEFAULT_PYTHON: 3.8 | ||
|
||
jobs: | ||
virtualenv-15-windows-test: | ||
# Regression test added in https://github.com/PyCQA/astroid/pull/1386 | ||
name: Regression test for virtualenv==15.1.0 on Windows | ||
runs-on: windows-latest | ||
timeout-minutes: 5 | ||
steps: | ||
- name: Check out code from GitHub | ||
uses: actions/[email protected] | ||
- name: Set up Python | ||
id: python | ||
uses: actions/[email protected] | ||
with: | ||
python-version: ${{ env.DEFAULT_PYTHON }} | ||
- name: Create Python virtual environment with virtualenv==15.1.0 | ||
run: | | ||
python -m pip install virtualenv==15.1.0 | ||
python -m virtualenv venv2 | ||
. venv2\scripts\activate | ||
python -m pip install pylint | ||
python -m pip install -e . | ||
- name: Test no import-error from distutils.util | ||
run: | | ||
. venv2\scripts\activate | ||
echo "import distutils.util # pylint: disable=unused-import" > test.py | ||
pylint test.py |
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
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