From 2643d8ffb675e94c36c20385fecbb420f1aff6ae Mon Sep 17 00:00:00 2001 From: Martin Schubert Date: Wed, 27 Sep 2023 10:50:37 -0700 Subject: [PATCH] Clean up CI --- .github/workflows/build-ci.yml | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build-ci.yml b/.github/workflows/build-ci.yml index 4011192..e8917af 100644 --- a/.github/workflows/build-ci.yml +++ b/.github/workflows/build-ci.yml @@ -28,7 +28,7 @@ jobs: pip install pre-commit pre-commit run -a - validate-docstrings: + validate-types-and-docstrings: runs-on: ubuntu-latest steps: - name: Checkout repository @@ -54,13 +54,11 @@ jobs: pip install "totypes/" pip install ".[tests,dev]" - - name: Validate docstrings - run: | - darglint src --strictness=short --ignore-raise=ValueError + - name: mypy type validation + run: mypy src - - name: Validate docstrings - run: | - mypy src + - name: darglint docstring validation + run: darglint src --strictness=short --ignore-raise=ValueError tests: runs-on: ubuntu-latest