diff options
author | Ben Raz <ben9923@gmail.com> | 2022-09-19 15:07:50 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-19 14:07:50 +0200 |
commit | a3eca35f084b44185a9950b5725fe8491c91510e (patch) | |
tree | 3bb030475ab1ca506041155e50fdb379f79321a4 | |
parent | cafd10b174e9edec1b8aae5337caac4461c15b1e (diff) | |
download | psutil-a3eca35f084b44185a9950b5725fe8491c91510e.tar.gz |
Fix macOS Python 2.7 build (#2140)
Currently Python 2.7 tests & builds were run twice for Linux instead.
Swap configuration to macOS 10.15, in par with Python 3 workflow,
and to make Process.environ tests pass (broken in macOS 11+).
Signed-off-by: Ben Raz <ben9923@gmail.com>
-rw-r--r-- | .github/workflows/build.yml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9e0caa2a..6b600bf0 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -81,16 +81,16 @@ jobs: # Linux + macOS + Python 2 linux-macos-py2: name: ${{ matrix.os }}-py2 - runs-on: ubuntu-latest + runs-on: ${{ matrix.os }} timeout-minutes: 20 strategy: fail-fast: false matrix: - os: [ubuntu-latest, macos-latest] + os: [ubuntu-latest, macos-10.15] include: - {name: Linux, python: '3.9', os: ubuntu-latest} env: - CIBW_ARCHS: 'x86_64 i686' + CIBW_ARCHS_LINUX: 'x86_64 i686' CIBW_TEST_COMMAND: PYTHONWARNINGS=always PYTHONUNBUFFERED=1 PSUTIL_DEBUG=1 python {project}/psutil/tests/runner.py && PYTHONWARNINGS=always PYTHONUNBUFFERED=1 PSUTIL_DEBUG=1 python {project}/psutil/tests/test_memleaks.py |