1
0
Fork 0
mirror of synced 2024-06-02 02:34:40 +12:00

Workflows: Run pylint on a matrix of OSes and versions

This commit is contained in:
loathingKernel 2024-01-22 00:21:40 +02:00
parent d9bfdb91ce
commit 17246f1201

View file

@ -22,13 +22,17 @@ on:
jobs: jobs:
pylint: pylint:
runs-on: ubuntu-latest strategy:
matrix:
os: [macos-latest, windows-latest, ubuntu-latest]
version: [3.9, 3.10, 3.11, 3.12]
runs-on: ${{ matrix.os }}
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- name: Set up Python - name: Set up Python
uses: actions/setup-python@v4 uses: actions/setup-python@v4
with: with:
python-version: '3.9' python-version: ${{ matris.version }}
- name: Install dependencies - name: Install dependencies
run: | run: |
python3 -m pip install --upgrade pip python3 -m pip install --upgrade pip