Skip to content

Commit

Permalink
gh action: fix tests on python 2
Browse files Browse the repository at this point in the history
  • Loading branch information
drjova committed Dec 11, 2024
1 parent 69c3b46 commit 26d48e2
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/build-and-release-py2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ jobs:
uses: actions/checkout@v2
with:
fetch-depth: 0
python-version: ${{ matrix.python-version }}

- name: Install npm dependencies
run: |
Expand All @@ -27,11 +28,14 @@ jobs:
- name: Install python dependencies
run: |
${{ matrix.pip }} install --user --upgrade pip
${{ matrix.pip }} --no-cache-dir install --user -e .[tests,docs]
wget https://bootstrap.pypa.io/pip/2.7/get-pip.py
${{ matrix.python }} get-pip.py
${{ matrix.python }} -m ${{ matrix.pip }} install --user --upgrade pip
${{ matrix.python }} -m ${{ matrix.pip }} --no-cache-dir install --user -e .[tests,docs]
- name: Show python dependencies
run: |
${{matrix.pip}} --version
${{ matrix.python }} --version
${{ matrix.pip }} freeze
Expand Down

0 comments on commit 26d48e2

Please sign in to comment.