From 4f1778e2792f1ef0c1195a26e40dcc775aa58ad0 Mon Sep 17 00:00:00 2001 From: mozman Date: Fri, 11 Dec 2020 19:14:11 +0100 Subject: [PATCH] add Python 3.9 to deployment action --- .github/workflows/deploy.yml | 24 +++++++++++------------- .github/workflows/testcext.yml | 1 - .github/workflows/testing.yml | 2 +- 3 files changed, 12 insertions(+), 15 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 923f5f376..c77199679 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -12,14 +12,14 @@ jobs: TWINE_PASSWORD: ${{ secrets.TWINE_PASSWORD }} steps: - uses: actions/checkout@v2 - - name: build and upload manylinux wheels + - name: Build and upload manylinux wheels uses: mozman/manylinux-wheel-builder@master with: python-versions: "3.*" # if true then github actions won't stop even if build for this job fails continue-on-error: true - # deploy source distribution + # Deploy source distribution Source-dist: runs-on: windows-latest env: @@ -27,21 +27,19 @@ jobs: TWINE_PASSWORD: ${{ secrets.TWINE_PASSWORD }} steps: - uses: actions/checkout@v2 - - name: Set up Python + - name: Setup Python uses: actions/setup-python@v2 with: python-version: 3.7 - - name: create source distribution + - name: Create source distribution run: python setup.py sdist - - name: upload source distribution + - name: Upload source distribution run: | pip install twine twine upload dist/* continue-on-error: true - # Build and deploy wheels for macos and windows using setup-python action. - # This has nothing to do with manylinux-wheel-builder. - # I have just put them for the purpose of completion. + # Build and deploy wheels for MacOS and Windows Matrix-build: runs-on: ${{ matrix.os }} env: @@ -50,19 +48,19 @@ jobs: strategy: matrix: os: [macos-latest, windows-latest] - python-version: [3.6, 3.7, 3.8] + python-version: [3.6, 3.7, 3.8, 3.9] steps: - uses: actions/checkout@v2 - - name: Set up Python + - name: Setup Python uses: actions/setup-python@v2 with: python-version: ${{ matrix.python-version }} - - name: build wheel + - name: Build binary wheels run: | pip install wheel cython python setup.py bdist_wheel - - name: upload wheel + - name: Upload binary wheels run: | pip install twine twine upload dist/* - continue-on-error: true \ No newline at end of file + continue-on-error: true diff --git a/.github/workflows/testcext.yml b/.github/workflows/testcext.yml index 6a6165f21..f05a348b3 100644 --- a/.github/workflows/testcext.yml +++ b/.github/workflows/testcext.yml @@ -23,7 +23,6 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - # This are just testing requirements: python -m pip install pytest pyparsing geomdl cython - name: Install with C-extensions run: | diff --git a/.github/workflows/testing.yml b/.github/workflows/testing.yml index aef339da3..5773b5ce2 100644 --- a/.github/workflows/testing.yml +++ b/.github/workflows/testing.yml @@ -23,7 +23,7 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - # exclude cython to test the pure Python verion + # Excluding Cython to test the pure Python version. python -m pip install pytest pyparsing geomdl - name: Install without C-extensions run: |