Skip to content

fix CI step

fix CI step #2

Workflow file for this run

name: Main Workflow
on: [push, pull_request]
jobs:
code_style:
name: Code Style Analysis
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.10"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -e .
pip install "pylint==2.12.2" "pylint-ignore==2022.1025" "PyYAML>=6.0"
- name: Pylint
run: |
pylint-ignore --rcfile=.pylintrc .
build:
runs-on: ubuntu-22.04
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Display Python version
run: python -c "import sys; print(sys.version)"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip3 install -U setuptools pytest
- name: Test project
run: |
pytest