mirror of
https://github.com/bombsquad-community/plugin-manager.git
synced 2025-10-08 14:54:36 +00:00
Apply diff commits for formatting and versioning
This commit is contained in:
parent
21c0d983f7
commit
793cf9b40c
1 changed files with 10 additions and 5 deletions
15
.github/workflows/checks.yml
vendored
15
.github/workflows/checks.yml
vendored
|
|
@ -26,17 +26,22 @@ jobs:
|
||||||
python -m pip install --upgrade pip
|
python -m pip install --upgrade pip
|
||||||
pip install autopep8
|
pip install autopep8
|
||||||
pip install -r test/pip_reqs.txt
|
pip install -r test/pip_reqs.txt
|
||||||
- name: Apply PEP8
|
- name: Apply AutoPEP8
|
||||||
run: |
|
run: |
|
||||||
autopep8 --in-place --recursive --max-line-length=100 .
|
autopep8 --in-place --recursive --max-line-length=100 .
|
||||||
- name: Apply Version Metadata
|
- name: Apply Auto-Formatting Commit
|
||||||
run: |
|
|
||||||
python test/auto_apply_version_metadata.py $(git log --pretty=format:'%h' -n 1)
|
|
||||||
- name: Apply Commit
|
|
||||||
uses: stefanzweifel/git-auto-commit-action@v4
|
uses: stefanzweifel/git-auto-commit-action@v4
|
||||||
with:
|
with:
|
||||||
commit_message: "[ci] auto-format"
|
commit_message: "[ci] auto-format"
|
||||||
branch: ${{ github.head_ref }}
|
branch: ${{ github.head_ref }}
|
||||||
|
- name: Apply Version Metadata
|
||||||
|
run: |
|
||||||
|
python test/auto_apply_version_metadata.py $(git log --pretty=format:'%h' -n 1)
|
||||||
|
- name: Apply Version Metadata Commit
|
||||||
|
uses: stefanzweifel/git-auto-commit-action@v4
|
||||||
|
with:
|
||||||
|
commit_message: "[ci] apply-version-metadata"
|
||||||
|
branch: ${{ github.head_ref }}
|
||||||
- name: Execute Tests
|
- name: Execute Tests
|
||||||
run: |
|
run: |
|
||||||
python -m unittest discover -v
|
python -m unittest discover -v
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue