Skip to content

Merge pull request #49 from ssbarnea/chore/docs #39

Merge pull request #49 from ssbarnea/chore/docs

Merge pull request #49 from ssbarnea/chore/docs #39

Workflow file for this run

---
name: ansible-sign docs
on: # yamllint disable-line rule:truthy
push:
branches:
- main
jobs:
docs:
name: Python ${{ matrix.python }}
runs-on: ubuntu-latest
timeout-minutes: 15
strategy:
fail-fast: false
matrix:
include:
- python: "3.10"
steps:
- uses: actions/checkout@v2
with:
submodules: recursive
- name: Set up Python ${{ matrix.python }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python }}
- name: Install tox
run: pip install tox
- name: Show code-coverage docs
run: |
sed -i 's/term-missing/html/' setup.cfg
tox
mkdir -p docs/_build/html/coverage
rm -v htmlcov/.gitignore
mv -v htmlcov docs/_build/html/coverage
- name: "Deploy 'em 🚀"
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: docs/_build/html/coverage/htmlcov