From 7e06b262c9046f7fac211e2bd153a4a24c24b824 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20C=2E=20Riven=C3=A6s?= Date: Sun, 22 Oct 2023 20:47:11 +0200 Subject: [PATCH] BLD: change to 'python -m pip install' The reason for this is some odd failures on github actions on Windows clients when "pip install..." while "python -m pip..." works --- .github/actions/setup_xtgeo/action.yml | 4 ++-- .github/workflows/ci-test-xtgeo-cibuildwheel.yml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/actions/setup_xtgeo/action.yml b/.github/actions/setup_xtgeo/action.yml index 22e67f670..2ed1be6b8 100644 --- a/.github/actions/setup_xtgeo/action.yml +++ b/.github/actions/setup_xtgeo/action.yml @@ -17,5 +17,5 @@ runs: - name: Build and install xtgeo shell: bash run: | - pip install -U pip - pip install ".[dev]" + python -m pip install -U pip + python -m pip install ".[dev]" diff --git a/.github/workflows/ci-test-xtgeo-cibuildwheel.yml b/.github/workflows/ci-test-xtgeo-cibuildwheel.yml index ebc8a775b..73dbdb559 100644 --- a/.github/workflows/ci-test-xtgeo-cibuildwheel.yml +++ b/.github/workflows/ci-test-xtgeo-cibuildwheel.yml @@ -44,5 +44,5 @@ jobs: TWINE_USERNAME: __token__ TWINE_PASSWORD: ${{ secrets.PYPI_SECRET }} run: > - pip install twine && + python -m pip install twine && twine upload wheelhouse/*