diff options
author | Giampaolo Rodola <g.rodola@gmail.com> | 2020-12-17 21:04:47 +0100 |
---|---|---|
committer | Giampaolo Rodola <g.rodola@gmail.com> | 2020-12-17 21:04:47 +0100 |
commit | 3b13bb6b11080c2714ba059d9cb759061ea0f33d (patch) | |
tree | 10d61fa61b8f8ac9dc3138f731cffb2898bdfd95 | |
parent | 8b8ee2ed154bac7c577c9534cc0e363d5ed6f91a (diff) | |
download | psutil-3b13bb6b11080c2714ba059d9cb759061ea0f33d.tar.gz |
skip-appveyor
Signed-off-by: Giampaolo Rodola <g.rodola@gmail.com>
-rw-r--r-- | .github/workflows/ci.yml | 95 | ||||
-rwxr-xr-x | setup.py | 3 |
2 files changed, 50 insertions, 48 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4f8b6d20..32172e77 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,58 +12,57 @@ on: [push] name: Build jobs: -# linux-macos-win: -# name: ${{ matrix.os }} -# runs-on: ${{ matrix.os }} -# timeout-minutes: 30 -# strategy: -# fail-fast: false -# matrix: -# # os: [ubuntu-latest, macos-latest, windows-latest] -# os: [ubuntu-latest, macos-latest] -# include: -# - {name: Linux, python: '3.9', os: ubuntu-latest} -# env: -# CIBW_TEST_COMMAND: -# PYTHONWARNINGS=always PYTHONUNBUFFERED=1 PSUTIL_TESTING=1 PSUTIL_DEBUG=1 -# python {project}/psutil/tests/runner.py && -# PYTHONWARNINGS=always PYTHONUNBUFFERED=1 PSUTIL_TESTING=1 PSUTIL_DEBUG=1 -# python {project}/psutil/tests/test_memleaks.py -# CIBW_TEST_EXTRAS: test -# CIBW_SKIP: cp35-* pp* -# steps: -# - name: Cancel previous runs -# uses: styfle/cancel-workflow-action@0.6.0 -# with: -# access_token: ${{ github.token }} + # linux-macos-win: + # name: ${{ matrix.os }} + # runs-on: ${{ matrix.os }} + # timeout-minutes: 30 + # strategy: + # fail-fast: false + # matrix: + # # os: [ubuntu-latest, macos-latest, windows-latest] + # os: [ubuntu-latest, macos-latest] + # include: + # - {name: Linux, python: '3.9', os: ubuntu-latest} + # env: + # CIBW_TEST_COMMAND: + # PYTHONUNBUFFERED=1 make install && + # PYTHONUNBUFFERED=1 make test && + # PYTHONUNBUFFERED=1 make test-memleaks + # CIBW_TEST_EXTRAS: test + # CIBW_SKIP: cp35-* pp* + # steps: + # - name: Cancel previous runs + # uses: styfle/cancel-workflow-action@0.6.0 + # with: + # access_token: ${{ github.token }} -# - uses: actions/checkout@v2 -# - uses: actions/setup-python@v2 -# with: -# python-version: 3.9 + # - uses: actions/checkout@v2 + # - uses: actions/setup-python@v2 + # with: + # python-version: 3.9 -# # - name: (Windows) install Visual C++ for Python 2.7 -# # if: matrix.os == 'windows-latest' -# # run: | -# # choco install vcpython27 -f -y + # # - name: (Windows) install Visual C++ for Python 2.7 + # # if: matrix.os == 'windows-latest' + # # run: | + # # choco install vcpython27 -f -y -# - name: Run tests -# run: | -# cibuildwheel . + # - name: Run tests + # run: | + # cibuildwheel . -# - name: Create wheels -# uses: actions/upload-artifact@v2 -# with: -# name: wheels -# path: wheelhouse + # - name: Create wheels + # uses: actions/upload-artifact@v2 + # with: + # name: wheels + # path: wheelhouse -# - name: Print hashes -# if: matrix.os == 'ubuntu-latest' -# run: | -# make generate-manifest -# python setup.py sdist -# mv dist/psutil*.tar.gz wheelhouse/ -# python scripts/internal/print_hashes.py wheelhouse/ + # - name: Print hashes + # if: matrix.os == 'ubuntu-latest' + # run: | + # make generate-manifest + # python setup.py sdist + # mv dist/psutil*.tar.gz wheelhouse/ + # python scripts/internal/print_hashes.py wheelhouse/ # freebsd: # runs-on: macos-latest @@ -98,7 +97,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: [2.7, 3.8] + python-version: [2.7, 3.9] steps: - uses: actions/checkout@v2 - uses: actions/setup-python@v2 @@ -6,6 +6,9 @@ """Cross-platform lib for process and system monitoring in Python.""" + + + from __future__ import print_function import contextlib import io |