Skip to content

Commit

Permalink
Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
probonopd committed Jul 2, 2024
1 parent a9b055a commit 11dff47
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/pylint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,21 @@ on: [push]

jobs:
build:
runs-on: ubuntu-latest
runs-on: windows-latest # Use windows-latest for Windows 10 and 11 support
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
uses: actions/setup-python@v2 # Update to v2 for better Windows support
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pylint
pip install -r requirements.txt
pip install -r requirements.txt # Make sure requirements.txt is in your repository
- name: Analysing the code with pylint
run: |
pylint $(git ls-files '*.py')
pylint $(Get-ChildItem -Path . -Filter "*.py" -Recurse | Select-Object -ExpandProperty FullName)

0 comments on commit 11dff47

Please sign in to comment.