Skip to content

Commit

Permalink
🔧🚇 Only run check-maifest on the CI (#967)
Browse files Browse the repository at this point in the history
* 🔧🚇 Only run check-maifest on the CI

* 🚧 Added change to changelog
  • Loading branch information
s-weigand authored Jan 24, 2022
1 parent 1667b7d commit 707c227
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 7 deletions.
17 changes: 16 additions & 1 deletion .github/workflows/CI_CD_actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,21 @@ jobs:
- name: Run pre-commit
uses: pre-commit/[email protected]

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:
Expand Down Expand Up @@ -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]
Expand Down
5 changes: 0 additions & 5 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
3 changes: 2 additions & 1 deletion changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 707c227

Please sign in to comment.