Test docs - ok

This commit is contained in:
Roman Mogylatov 2021-01-27 07:45:48 -05:00
parent 9bdce2d376
commit 9efc8ed488

View File

@ -7,106 +7,106 @@ on:
jobs: jobs:
# tests: tests:
# name: Run tests name: Run tests
# runs-on: ubuntu-latest runs-on: ubuntu-latest
# steps: steps:
# - uses: actions/checkout@v2 - uses: actions/checkout@v2
# - uses: actions/setup-python@v2 - uses: actions/setup-python@v2
# with: with:
# python-version: 3.9 python-version: 3.9
# - run: pip install tox - run: pip install tox
# - run: tox - run: tox
# env: env:
# TOXENV: 3.9 TOXENV: 3.9
#
# linters: linters:
# name: Run linters name: Run linters
# runs-on: ubuntu-latest runs-on: ubuntu-latest
# strategy: strategy:
# matrix: matrix:
# toxenv: [flake8, pydocstyle, mypy, pylint] toxenv: [flake8, pydocstyle, mypy, pylint]
# steps: steps:
# - uses: actions/checkout@v2 - uses: actions/checkout@v2
# - uses: actions/setup-python@v2 - uses: actions/setup-python@v2
# with: with:
# python-version: 3.9 python-version: 3.9
# - run: pip install tox - run: pip install tox
# - run: tox - run: tox
# env: env:
# TOXENV: ${{ matrix.toxenv }} TOXENV: ${{ matrix.toxenv }}
#
# build-sdist: build-sdist:
# name: Build source tarball name: Build source tarball
# needs: [tests, linters] needs: [tests, linters]
# runs-on: ubuntu-latest runs-on: ubuntu-latest
# steps: steps:
# - uses: actions/checkout@v2 - uses: actions/checkout@v2
# - uses: actions/setup-python@v2 - uses: actions/setup-python@v2
# with: with:
# python-version: 3.9 python-version: 3.9
# - run: python setup.py sdist - run: python setup.py sdist
# - uses: actions/upload-artifact@v2 - uses: actions/upload-artifact@v2
# with: with:
# path: ./dist/* path: ./dist/*
#
# build-wheels: build-wheels:
# name: Build wheels name: Build wheels
# needs: [tests, linters] needs: [tests, linters]
# runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
# strategy: strategy:
# matrix: matrix:
# os: [ubuntu-latest, windows-latest, macos-latest] os: [ubuntu-latest, windows-latest, macos-latest]
# steps: steps:
# - uses: actions/checkout@v2 - uses: actions/checkout@v2
# - uses: actions/setup-python@v2 - uses: actions/setup-python@v2
# with: with:
# python-version: 3.9 python-version: 3.9
# - run: pip install cibuildwheel==1.8.0 - run: pip install cibuildwheel==1.8.0
# - name: Install Visual C++ for Python 2.7 on Windows - name: Install Visual C++ for Python 2.7 on Windows
# if: runner.os == 'Windows' if: runner.os == 'Windows'
# run: | run: |
# choco install vcpython27 -f -y choco install vcpython27 -f -y
# - run: cibuildwheel --output-dir wheelhouse - run: cibuildwheel --output-dir wheelhouse
# - uses: actions/upload-artifact@v2 - uses: actions/upload-artifact@v2
# with: with:
# path: ./wheelhouse/*.whl path: ./wheelhouse/*.whl
#
# build-wheels-linux-aarch64: build-wheels-linux-aarch64:
# name: Build wheels (ubuntu-latest-aarch64) name: Build wheels (ubuntu-latest-aarch64)
# needs: [tests, linters] needs: [tests, linters]
# runs-on: ubuntu-latest runs-on: ubuntu-latest
# steps: steps:
# - uses: actions/checkout@v2 - uses: actions/checkout@v2
# - name: Set up QEMU - name: Set up QEMU
# uses: docker/setup-qemu-action@v1 uses: docker/setup-qemu-action@v1
# - uses: actions/setup-python@v2 - uses: actions/setup-python@v2
# with: with:
# python-version: 3.9 python-version: 3.9
# - run: pip install cibuildwheel==1.8.0 - run: pip install cibuildwheel==1.8.0
# - run: cibuildwheel --archs aarch64 --output-dir wheelhouse - run: cibuildwheel --archs aarch64 --output-dir wheelhouse
# - uses: actions/upload-artifact@v2 - uses: actions/upload-artifact@v2
# with: with:
# path: ./wheelhouse/*.whl path: ./wheelhouse/*.whl
#
# publish: publish:
# name: Publish on PyPI name: Publish on PyPI
# needs: [build-sdist, build-wheels, build-wheels-linux-aarch64] needs: [build-sdist, build-wheels, build-wheels-linux-aarch64]
# runs-on: ubuntu-latest runs-on: ubuntu-latest
# steps: steps:
# - uses: actions/download-artifact@v2 - uses: actions/download-artifact@v2
# with: with:
# name: artifact name: artifact
# path: dist path: dist
# - uses: pypa/gh-action-pypi-publish@master - uses: pypa/gh-action-pypi-publish@master
# with: with:
# user: __token__ user: __token__
# password: ${{ secrets.PYPI_API_TOKEN }} password: ${{ secrets.PYPI_API_TOKEN }}
# repository_url: https://test.pypi.org/legacy/ repository_url: https://test.pypi.org/legacy/
publish-docs: publish-docs:
name: Publish docs name: Publish docs
# needs: [publish] needs: [publish]
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2