Skip to content

IP-5091: [python-dependency-injector] python 3.11 이전 버전 지원 제거 #15

IP-5091: [python-dependency-injector] python 3.11 이전 버전 지원 제거

IP-5091: [python-dependency-injector] python 3.11 이전 버전 지원 제거 #15

Workflow file for this run

name: Test
on:
pull_request:
branches:
- master
jobs:
test:
name: Run tests
runs-on: ubuntu-latest
strategy:
matrix:
python-version:
- 3.11
- 3.12
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
id: setup-python
with:
python-version: ${{ matrix.python-version }}
cache: pip
- name: Load cached poetry installation
uses: actions/cache@v4
with:
path: ~/.local
key: poetry-${{ steps.setup-python.outputs.python-version }}
- name: Install Poetry
uses: snok/install-poetry@v1
with:
virtualenvs-create: true
virtualenvs-in-project: true
installer-parallel: true
- name: Install dependencies
shell: bash
run: poetry install
- name: Run tests
run: |
poetry run pytest -vv -s tests