Skip to content

Commit

Permalink
add more build steps
Browse files Browse the repository at this point in the history
  • Loading branch information
Diaoul committed Jun 23, 2024
1 parent 49e3b24 commit 8eada08
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 2 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,27 @@ on:
branches: [main]

jobs:
check-manifest:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: pipx run check-manifest
docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.x"
- name: Install dependencies
run: |
python -m pip install -e .[docs]
sphinx-build -b html docs/ docs/_build
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: docs
path: docs/_build/
test:
runs-on: ubuntu-latest
strategy:
Expand Down
2 changes: 0 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,6 @@ test = [
"requests",
"mypy",
"pytest>=6.0",
"pytest-cov",
"pytest-flakes",
"importlib_metadata>=4.6; python_version<'3.10'",
]
dev = ["doc8", "mypy", "ruff", "typos", "validate-pyproject", "tox"]
Expand Down

0 comments on commit 8eada08

Please sign in to comment.