diff --git a/.github/workflows/CI_CD_actions.yml b/.github/workflows/CI_CD_actions.yml index f8123d88c..f82d0be7b 100644 --- a/.github/workflows/CI_CD_actions.yml +++ b/.github/workflows/CI_CD_actions.yml @@ -13,6 +13,21 @@ jobs: - name: Run pre-commit uses: pre-commit/action@v2.0.3 + check-manifest: + name: Check Manifest + runs-on: ubuntu-latest + steps: + - name: Check out repo + uses: actions/checkout@v2 + - name: Set up Python 3.8 + uses: actions/setup-python@v2 + with: + python-version: 3.8 + - name: Install check manifest + run: python -m pip install check-manifest + - name: Run check manifest + run: check-manifest + docs: runs-on: ubuntu-latest steps: @@ -88,7 +103,7 @@ jobs: test: runs-on: ${{ matrix.os }} - needs: pre-commit + needs: [pre-commit, check-manifest] strategy: matrix: os: [ubuntu-latest, windows-latest, macOS-latest] diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 7e2956098..8ba0675c0 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -145,8 +145,3 @@ repos: types: [file] types_or: [python, pyi, markdown, rst, jupyter] args: [-L doas] - - - repo: https://github.com/mgedmin/check-manifest - rev: "0.47" - hooks: - - id: check-manifest diff --git a/changelog.md b/changelog.md index 22bba88df..9c4d50aea 100644 --- a/changelog.md +++ b/changelog.md @@ -22,7 +22,8 @@ ### 🚧 Maintenance - 🔧 Improve packaging tooling (#923) - 🔧🚇 Exclude test files from duplication checks on sonarcloud (#959) +- 🔧🚇 Exclude test files from duplication checks on sonarcloud (#959) +- 🔧🚇 Only run check-maifest on the CI #967 ## 0.5.1 (2021-12-31)