diff --git a/.github/workflows/test-python-2.yml b/.github/workflows/test-python-2.yml index bb0bb2b..35ebaca 100644 --- a/.github/workflows/test-python-2.yml +++ b/.github/workflows/test-python-2.yml @@ -24,7 +24,7 @@ jobs: ${{ 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] + ${{ matrix.python }} -m ${{ matrix.pip }} --no-cache-dir install --user -r requirements.txt - name: Show python dependencies run: | diff --git a/.github/workflows/test-python-3.yml b/.github/workflows/test-python-3.yml index 453bc14..ce1288d 100644 --- a/.github/workflows/test-python-3.yml +++ b/.github/workflows/test-python-3.yml @@ -21,6 +21,8 @@ jobs: steps: - name: Checkout repository uses: actions/checkout@v4 + with: + fetch-depth: 0 - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v5 @@ -30,7 +32,7 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - pip install -e .[tests] + pip install --no-cache-dir install --user -r requirements.txt - name: Show python dependencies run: |