This repository has been archived by the owner on Dec 27, 2023. It is now read-only.
Add altp package for parallel execution #66
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Copyright (c) 2022 Andrea Cervesato <andrea.cervesato@suse.com> | |
name: "Lint packages" | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-20.04 | |
strategy: | |
fail-fast: false | |
matrix: | |
python-version: ["3.6", "3.7", "3.8", "3.9", "3.10", "3.11.0"] | |
steps: | |
- name: Show OS | |
run: cat /etc/os-release | |
- name: Git checkout | |
uses: actions/checkout@v3 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install dependencies | |
run: python3 -m pip install pylint | |
- name: Test runltp-ng | |
run: python3 runltp-ng --help | |
- name: Lint with pylint | |
run: pylint --rcfile=pylint.ini ltp altp |