Adds a timeout to the SSH channel. #111
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: [push, pull_request] | |
name: CI Checks | |
jobs: | |
ci: | |
name: CI Checks | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@master | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: '3.10' | |
- uses: abatilo/[email protected] | |
with: | |
poetry-version: '1.3.2' | |
- run: poetry install | |
- run: poetry run pytest | |
- run: poetry run black . --check | |
- run: poetry build | |
- run: poetry run sphinx-build -b html docs docs_output | |
- name: Upload coverage data to coveralls.io | |
run: poetry run coveralls --service=github | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
- name: Deploy GH Pages | |
if: startsWith(github.ref, 'refs/heads/main') | |
uses: JamesIves/[email protected] | |
with: | |
folder: docs_output | |
- name: Publish distribution to PyPI | |
if: startsWith(github.ref, 'refs/tags') | |
uses: pypa/gh-action-pypi-publish@release/v1 | |
with: | |
password: ${{ secrets.PYPI_API_TOKEN }} |