diff --git a/.github/workflows/ci-cd.yaml b/.github/workflows/ci-cd.yaml new file mode 100644 index 0000000..de0df9c --- /dev/null +++ b/.github/workflows/ci-cd.yaml @@ -0,0 +1,27 @@ +name: ci-cd + +on: [push, pull_request] + +jobs: + ci: + # Set up operating system + runs-on: ubuntu-latest + + # Define job steps + steps: + - name: Set up Python 3.9 + uses: actions/setup-python@v2 + with: + python-version: 3.9 + + - name: Check-out repository + uses: actions/checkout@v2 + + - name: Install poetry + uses: snok/install-poetry@v1 + + - name: Install package + run: poetry install + + - name: Build documentation + run: poetry run make html --directory docs/ \ No newline at end of file diff --git a/.readthedocs.yml b/.readthedocs.yml index a7abdae..d5eeec1 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -21,3 +21,7 @@ build: # Build documentation in the "docs/" directory with Sphinx sphinx: configuration: docs/conf.py + +formats: + - pdf + - epub