diff options
| author | Jacob Walls <jacobtylerwalls@gmail.com> | 2022-02-27 08:58:07 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-02-27 14:58:07 +0100 |
| commit | 62aa3bb63c3ca0cda19a1bb294a6b052c2346189 (patch) | |
| tree | efefc6c71dada63994ce09616a95046a2a57874f /.github | |
| parent | 8f7f07898720b875cfbf447a7106875db4a904b3 (diff) | |
| download | astroid-git-62aa3bb63c3ca0cda19a1bb294a6b052c2346189.tar.gz | |
Restore custom distutils handling for resolving paths to submodules. (#1386)
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/release-tests.yml | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/.github/workflows/release-tests.yml b/.github/workflows/release-tests.yml new file mode 100644 index 00000000..dc228ac7 --- /dev/null +++ b/.github/workflows/release-tests.yml @@ -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/checkout@v2.3.4 + - name: Set up Python + id: python + uses: actions/setup-python@v2.2.1 + 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 |
