Skip to content

Commit

Permalink
Merge pull request #360 from pcattori/mirror-rtd-ci
Browse files Browse the repository at this point in the history
Mirror RTD's CI for building docs
  • Loading branch information
pcattori committed Apr 5, 2020
2 parents ce34b9b + 2f02f4a commit 46397c9
Show file tree
Hide file tree
Showing 3 changed files with 54 additions and 56 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,10 @@ jobs:
uses: actions/setup-python@v1.1.1
with:
python-version: 3.6
- name: Install Poetry
uses: dschep/install-poetry-action@v1.2
# RTD uses pip for managing dependencies, so we mirror that approach
- name: Install dependencies
run: poetry install
run: |
python -m pip install .
python -m pip install -r docs/requirements.txt
- name: Build docs
run: poetry run invoke docs
run: TAMR_CLIENT_BETA=1 sphinx-build -b html docs docs/_build -W
97 changes: 47 additions & 50 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,11 @@ packages = [
include = ["tamr_client/py.typed"]

[tool.poetry.dependencies]
python = "^3.6"
python = "^3.6.1"
requests = "^2.22"
simplejson = "^3.16"
dataclasses = "^0.6.0"
pandas = "^1.0.3"

[tool.poetry.dev-dependencies]
Sphinx = "^2.1"
Expand All @@ -42,7 +43,6 @@ toml = "^0.10.0"
sphinx_rtd_theme = "^0.4.3"
recommonmark = "^0.6.0"
sphinx-autodoc-typehints = "^1.8"
pandas = "^0.25.3"
pytest = "^5.3.2"
invoke = "^1.4.0"
mypy = "^0.770"
Expand Down

0 comments on commit 46397c9

Please sign in to comment.