From 67ec1c3dc85b79552dbaedecd129eaf238cc979e Mon Sep 17 00:00:00 2001 From: Pascal Egner Date: Wed, 24 Jul 2024 15:59:50 +0200 Subject: [PATCH] actions: fix python2 action (#96) --- .github/workflows/test-python-2.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test-python-2.yml b/.github/workflows/test-python-2.yml index 77a5f1f..5c340ce 100644 --- a/.github/workflows/test-python-2.yml +++ b/.github/workflows/test-python-2.yml @@ -20,9 +20,11 @@ jobs: - name: Install python dependencies run: | - ${{ matrix.pip }} install --user --upgrade pip - ${{ matrix.pip }} --no-cache-dir install --user setuptools wheel "urllib3==1.25.11" - ${{ matrix.pip }} --no-cache-dir install --user -e .[tests,elasticsearch5] + 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 setuptools wheel "urllib3==1.25.11" + ${{ matrix.python }} -m ${{ matrix.pip }} --no-cache-dir install --user -e .[tests,elasticsearch5] - name: Show python dependencies run: |