Skip to content

feat: install version plugin when init poetry #11

feat: install version plugin when init poetry

feat: install version plugin when init poetry #11

Workflow file for this run

# This workflow will install Python dependencies, run tests and lint with a single version of Python
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python
name: ci
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
permissions:
contents: read
jobs:
lint:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.11]
steps:
- uses: actions/checkout@v4
- name: Setup Python
id: setup-python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
allow-prereleases: true
- name: Install uv
uses: astral-sh/setup-uv@v3
with:
enable-cache: true
cache-dependency-glob: "uv.lock"
- name: Install dependencies
if: steps.cached-dependencies.outputs.cache-hit != 'true'
run: uv sync --all-extras --dev
env:
PYO3_USE_ABI3_FORWARD_COMPATIBILITY: 1
- name: Check code style and Type Hint
run: uv run fast check
- name: Verify pip conf script
run: ./pip_conf.py
ConfPip:
runs-on: ubuntu-20.04
strategy:
matrix:
python-version: [3.6, 3.7, 3.8, 3.9, '3.10', 3.11, 3.12, 3.13]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
allow-prereleases: true
- name: Verify pip conf script
run: python pip_conf.py
conf_pip_py27:
runs-on: ubuntu-latest
container: python:2.7
steps:
- uses: actions/checkout@v4
- name: Verify pip conf script
run: |
python pip_conf.py
python -V