Skip to content

Commit

Permalink
Merge pull request #36 from ewjoachim/rtd
Browse files Browse the repository at this point in the history
  • Loading branch information
ewjoachim authored Oct 12, 2022
2 parents 3948ff0 + e96aaec commit 669b61c
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 15 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
run: poetry env use "${{ matrix.python-version }}"

- name: Install deps
run: poetry install
run: poetry install --only=test

- name: Run tests
run: poetry run pytest
Expand Down
3 changes: 0 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,6 @@ jobs:
python-version: "3"
cache: "poetry"

- name: Install Dev dependencies
run: poetry install

- name: Wait for tests to succeed
uses: fountainhead/[email protected]
id: wait-for-ci
Expand Down
16 changes: 9 additions & 7 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,12 @@ version: 2
sphinx:
configuration: docs/conf.py

python:
version: 3.7
install:
- method: pip
path: .
extra_requirements:
- docs
build:
os: ubuntu-20.04
tools:
python: '3.10'
jobs:
post_install:
- pip install poetry==1.2.0b1
- poetry config virtualenvs.create false
- poetry install --only=docs
6 changes: 2 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -39,14 +39,13 @@ click = "*"
colorama = "*"
requests = "*"
importlib-metadata = {version = "*", python = "<3.10"}
typing-extensions = "*"

[tool.poetry.group.dev.dependencies]
tox = "*"
[tool.poetry.group.lint.dependencies]
black = "*"
isort = "*"
flake8 = "*"
mypy = "*"
typing-extensions = "*"

[tool.poetry.group.test.dependencies]
pytest = "*"
Expand All @@ -60,7 +59,6 @@ sphinx = "*"
sphinx_autodoc_typehints = "*"
sphinxcontrib-programoutput = "*"


[tool.poetry.group.types.dependencies]
types-colorama = "^0.4.15"
types-requests = "^2.28.11.2"
Expand Down

0 comments on commit 669b61c

Please sign in to comment.