Skip to content

Commit

Permalink
Update pylint.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
greeeen-dev authored Nov 26, 2024
1 parent 5458565 commit c08c758
Showing 1 changed file with 88 additions and 6 deletions.
94 changes: 88 additions & 6 deletions .github/workflows/pylint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.12"]
python-version: ["3.12", "3.13"]
steps:
- name: Download Plugin
uses: actions/checkout@v4
Expand Down Expand Up @@ -40,7 +40,48 @@ jobs:
pip install -r requirements_unifier.txt
pip install -r requirements.txt
pip install pylint
- name: Analysing the code with pylint
- name: Pylint analysis
run: |
pylint --enable-all-extensions --extension-pkg-allow-list=orjson,ujson --disable=R,C,W $(git ls-files '*.py')
build-linux-balanced:
name: "Linux (Balanced)"
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.12", "3.13"]
steps:
- name: Download Plugin
uses: actions/checkout@v4
- name: Download Unifier
uses: actions/checkout@v4
with:
repository: UnifierHQ/unifier
path: unifier
- name: Download dependency reader
uses: actions/checkout@v4
with:
repository: UnifierHQ/plugin-dependency-reader
path: reader
- name: Copy Unifier files
run: |
mkdir utils
cp -r unifier/utils/* utils
cp unifier/requirements_balanced.txt requirements_unifier.txt
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Read Plugin requirements
run: |
python reader/reader.py
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements_unifier.txt
pip install -r requirements.txt
pip install pylint
- name: Pylint analysis
run: |
pylint --enable-all-extensions --extension-pkg-allow-list=orjson,ujson --disable=R,C,W $(git ls-files '*.py')
Expand All @@ -49,7 +90,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.9", "3.10", "3.11", "3.12"]
python-version: ["3.12", "3.13"]
steps:
- name: Download Plugin
uses: actions/checkout@v4
Expand Down Expand Up @@ -81,7 +122,7 @@ jobs:
pip install -r requirements_unifier.txt
pip install -r requirements.txt
pip install pylint
- name: Analysing the code with pylint
- name: Pylint analysis
run: |
pylint --enable-all-extensions --extension-pkg-allow-list=orjson,ujson --disable=R,C,W $(git ls-files '*.py')
Expand Down Expand Up @@ -122,7 +163,48 @@ jobs:
pip install -r requirements_unifier.txt
pip install -r requirements.txt
pip install pylint
- name: Analysing the code with pylint
- name: Pylint analysis
run: |
pylint --enable-all-extensions --extension-pkg-allow-list=orjson,ujson --disable=R,C,W $(git ls-files '*.py')
build-windows-balanced:
name: "Windows (Balanced)"
runs-on: windows-latest
strategy:
matrix:
python-version: ["3.12"]
steps:
- name: Download Plugin
uses: actions/checkout@v4
- name: Download Unifier
uses: actions/checkout@v4
with:
repository: UnifierHQ/unifier
path: unifier
- name: Download dependency reader
uses: actions/checkout@v4
with:
repository: UnifierHQ/plugin-dependency-reader
path: reader
- name: Copy Unifier files
run: |
New-Item -Path utils -ItemType Directory
Copy-item -Force -Recurse unifier/utils/* -Destination utils/
Copy-item -Force unifier/requirements_balanced.txt -Destination requirements_unifier.txt
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Read Plugin requirements
run: |
python reader/reader.py
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements_unifier.txt
pip install -r requirements.txt
pip install pylint
- name: Pylint analysis
run: |
pylint --enable-all-extensions --extension-pkg-allow-list=orjson,ujson --disable=R,C,W $(git ls-files '*.py')
Expand All @@ -131,7 +213,7 @@ jobs:
runs-on: windows-latest
strategy:
matrix:
python-version: ["3.9", "3.10", "3.11", "3.12"]
python-version: ["3.12", "3.13"]
steps:
- name: Download Plugin
uses: actions/checkout@v4
Expand Down

0 comments on commit c08c758

Please sign in to comment.