From 8eada08e348cef50cb1d60bc057a8071a1abb206 Mon Sep 17 00:00:00 2001 From: Antoine Bertin Date: Sun, 23 Jun 2024 14:38:54 +0200 Subject: [PATCH] add more build steps --- .github/workflows/build.yaml | 21 +++++++++++++++++++++ pyproject.toml | 2 -- 2 files changed, 21 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index a5900af..f111342 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -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: diff --git a/pyproject.toml b/pyproject.toml index fbb9520..0ddd14a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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"]