ranguli/ioccheck

View on GitHub
.github/workflows/docs.yml

Summary

Maintainability
Test Coverage
name: Documentation

on:
  push:
    paths:
      - 'docs/**'
    branches:
      - master
  pull_request:
    paths:
      - 'docs/**'
    branches:
      - '**'

jobs:
  docs:
    name: Documentation Build
    runs-on: ubuntu-latest
    steps:
      - name: "Checkout"
        uses: actions/checkout@v2
      - name: "Setup Python"
        uses: actions/setup-python@v2
        with:
            python-version: 3.8
      - name: "Run image"
        uses: abatilo/actions-poetry@v2.0.0
      - name: Install dependencies
        run: poetry install
      - name: "Build docs"
        run: poetry run nox -e docs