From 279020803c9367dce75e03c273283bf1e59e8d3b Mon Sep 17 00:00:00 2001 From: Dmitry Shibanov Date: Sat, 2 Apr 2022 23:29:30 +0200 Subject: [PATCH 1/3] add --system --- .github/workflows/e2e-cache.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/e2e-cache.yml b/.github/workflows/e2e-cache.yml index fc4a08dae..f76ac0a2a 100644 --- a/.github/workflows/e2e-cache.yml +++ b/.github/workflows/e2e-cache.yml @@ -50,7 +50,7 @@ jobs: - name: Install pipenv run: pipx install pipenv - name: Install dependencies - run: pipenv install numpy + run: pipenv install --system numpy python-poetry-dependencies-caching: name: Test poetry (Python ${{ matrix.python-version}}, ${{ matrix.os }}) @@ -112,4 +112,4 @@ jobs: - name: Install pipenv run: pipx install pipenv - name: Install dependencies - run: pipenv install numpy \ No newline at end of file + run: pipenv install --system numpy \ No newline at end of file From ed8410ba476a381f26882d3a84103484d8c7c0ac Mon Sep 17 00:00:00 2001 From: Dmitry Shibanov Date: Sat, 2 Apr 2022 23:58:03 +0200 Subject: [PATCH 2/3] add python version --- .github/workflows/e2e-cache.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/e2e-cache.yml b/.github/workflows/e2e-cache.yml index f76ac0a2a..c4659560e 100644 --- a/.github/workflows/e2e-cache.yml +++ b/.github/workflows/e2e-cache.yml @@ -50,7 +50,9 @@ jobs: - name: Install pipenv run: pipx install pipenv - name: Install dependencies - run: pipenv install --system numpy + run: | + $pythonVersion = ("${{ matrix.python-version }}" -Match "pypy") ? "pypy" : "${{ matrix.python-version }}" + pipenv install --python $pythonVersion numpy python-poetry-dependencies-caching: name: Test poetry (Python ${{ matrix.python-version}}, ${{ matrix.os }}) @@ -112,4 +114,6 @@ jobs: - name: Install pipenv run: pipx install pipenv - name: Install dependencies - run: pipenv install --system numpy \ No newline at end of file + run: | + $pythonVersion = ("${{ matrix.python-version }}" -Match "pypy") ? "pypy" : "${{ matrix.python-version }}" + pipenv install --python $pythonVersion numpy \ No newline at end of file From c92ec4345f5c973e2165c8f906c893fa92af0137 Mon Sep 17 00:00:00 2001 From: Dmitry Shibanov Date: Sun, 3 Apr 2022 00:05:45 +0200 Subject: [PATCH 3/3] add shell --- .github/workflows/e2e-cache.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/e2e-cache.yml b/.github/workflows/e2e-cache.yml index c4659560e..2233ea868 100644 --- a/.github/workflows/e2e-cache.yml +++ b/.github/workflows/e2e-cache.yml @@ -50,6 +50,7 @@ jobs: - name: Install pipenv run: pipx install pipenv - name: Install dependencies + shell: pwsh run: | $pythonVersion = ("${{ matrix.python-version }}" -Match "pypy") ? "pypy" : "${{ matrix.python-version }}" pipenv install --python $pythonVersion numpy @@ -114,6 +115,7 @@ jobs: - name: Install pipenv run: pipx install pipenv - name: Install dependencies + shell: pwsh run: | $pythonVersion = ("${{ matrix.python-version }}" -Match "pypy") ? "pypy" : "${{ matrix.python-version }}" pipenv install --python $pythonVersion numpy \ No newline at end of file