mirror of
https://github.com/miurahr/aqtinstall.git
synced 2025-12-17 04:34:37 +03:00
chore/ci: setup reviewdog (#835)
Some checks failed
Check tox tests, lint and types / Check packaging 📦 (push) Waiting to run
CodeQL / Analyze (python) (push) Waiting to run
Publish Python 🐍 distributions 📦 to PyPI / Build and publish Python 🐍 distributions 📦 to PyPI (push) Waiting to run
Test on GH actions environment / test (binary, windows-latest, 3.12, 6.6.3) (push) Has been cancelled
Test on GH actions environment / test (standard, ubuntu-latest, 3.12, 6.5.3) (push) Has been cancelled
Test on GH actions environment / test (standard, ubuntu-latest, 3.12, 6.6.3) (push) Has been cancelled
Test on GH actions environment / test (standard, ubuntu-latest, 3.12, 6.8.0) (push) Has been cancelled
Test on GH actions environment / test (standard, ubuntu-latest, 3.12, 6.8.1) (push) Has been cancelled
Test on GH actions environment / test (standard, windows-latest, 3.12, 6.5.3) (push) Has been cancelled
Test on GH actions environment / test (standard, windows-latest, 3.12, 6.6.3) (push) Has been cancelled
Test on GH actions environment / test (standard, windows-latest, 3.12, 6.7.3) (push) Has been cancelled
Some checks failed
Check tox tests, lint and types / Check packaging 📦 (push) Waiting to run
CodeQL / Analyze (python) (push) Waiting to run
Publish Python 🐍 distributions 📦 to PyPI / Build and publish Python 🐍 distributions 📦 to PyPI (push) Waiting to run
Test on GH actions environment / test (binary, windows-latest, 3.12, 6.6.3) (push) Has been cancelled
Test on GH actions environment / test (standard, ubuntu-latest, 3.12, 6.5.3) (push) Has been cancelled
Test on GH actions environment / test (standard, ubuntu-latest, 3.12, 6.6.3) (push) Has been cancelled
Test on GH actions environment / test (standard, ubuntu-latest, 3.12, 6.8.0) (push) Has been cancelled
Test on GH actions environment / test (standard, ubuntu-latest, 3.12, 6.8.1) (push) Has been cancelled
Test on GH actions environment / test (standard, windows-latest, 3.12, 6.5.3) (push) Has been cancelled
Test on GH actions environment / test (standard, windows-latest, 3.12, 6.6.3) (push) Has been cancelled
Test on GH actions environment / test (standard, windows-latest, 3.12, 6.7.3) (push) Has been cancelled
* chore/ci: setup reviewdog Signed-off-by: Hiroshi Miura <miurahr@linux.com> * chore/ci: apply reviewdog to mypy and check Signed-off-by: Hiroshi Miura <miurahr@linux.com> * chore/ci: set REVIEWDOG_GITHUB_API_TOKEN Signed-off-by: Hiroshi Miura <miurahr@linux.com> * chore/ci: use --fail-level=error for reviewdog Signed-off-by: Hiroshi Miura <miurahr@linux.com> * chore/ci: update tox config Signed-off-by: Hiroshi Miura <miurahr@linux.com> * chore: update lint checks with reviewdog Signed-off-by: Hiroshi Miura <miurahr@linux.com> * chore: checkout with lfs Signed-off-by: Hiroshi Miura <miurahr@linux.com> * chore: fix missing file Signed-off-by: Hiroshi Miura <miurahr@linux.com> * chore: remove unused token Signed-off-by: Hiroshi Miura <miurahr@linux.com> * chore: install linter Signed-off-by: Hiroshi Miura <miurahr@linux.com> --------- Signed-off-by: Hiroshi Miura <miurahr@linux.com>
This commit is contained in:
47
.github/workflows/run-linter.yml
vendored
Normal file
47
.github/workflows/run-linter.yml
vendored
Normal file
@@ -0,0 +1,47 @@
|
||||
name: Run linter
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
|
||||
jobs:
|
||||
linter:
|
||||
name: Linter
|
||||
runs-on: ubuntu-24.04
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
lfs: true
|
||||
- name: Setup python
|
||||
uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: '3.12'
|
||||
architecture: x64
|
||||
- name: Setup reviewdog
|
||||
run: |
|
||||
/usr/bin/sh ci/reviewdog_install.sh -b ./bin/ v0.20.3
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
pip install -U pip tox wheel setuptools coveralls coverage[toml]
|
||||
pip install .[check]
|
||||
- name: run reviewdog
|
||||
run: |
|
||||
./bin/reviewdog -runners=flake8,mypy,pylint -reporter=github-pr-check -conf=.reviewdog.yml
|
||||
env:
|
||||
REVIEWDOG_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
docs:
|
||||
name: Document checks
|
||||
runs-on: ubuntu-22.04
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Setup python
|
||||
uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: '3.12'
|
||||
architecture: x64
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
pip install -U pip tox wheel setuptools setuptools_scm[toml]
|
||||
- name: docs build and link check
|
||||
run: |
|
||||
tox -e docs
|
||||
Reference in New Issue
Block a user