+
Skip to content

build(deps): bump actions/setup-python from 5 to 6 #90

build(deps): bump actions/setup-python from 5 to 6

build(deps): bump actions/setup-python from 5 to 6 #90

Workflow file for this run

name: Python QA
on: [push, pull_request]
jobs:
build-test:
name: Build & Test
runs-on: ubuntu-24.04
strategy:
matrix:
python-version: ['3.11',
'3.12',
'3.13']
steps:
- uses: actions/checkout@v5
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip setuptools wheel pytest flit
python -m pip install -r requirements.all.txt
python -m pip install -r docs/requirements.txt
- name: Build (Flit)
run: |
python -m flit build
rm -r dist/
- name: Test
run: |
python -m pytest
- name: Build & Install
run: |
python ./setup.py build
python ./setup.py install --root=/tmp
lint:
name: Linting
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: actions/setup-python@v6
with:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install --upgrade pip setuptools wheel 'flake8>=4.0' 'pylint>=2.12' black
python -m pip install -r requirements.all.txt
- name: Lint (flake8)
run: |
python -m flake8 ./edlio ./tests --show-source --statistics
- name: Lint (pylint)
run: |
python -m pylint -f colorized ./edlio ./tests
python -m pylint -f colorized setup.py
- name: Lint (black)
run: |
python -m black --diff .
mypy:
name: MyPy Typecheck
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: actions/setup-python@v6
with:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install --upgrade pip setuptools wheel mypy
python -m pip install -r requirements.all.txt
- name: Check with MyPy
run: |
mypy --pretty edlio
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载