Skip to content

Bump urllib3 from 2.1.0 to 2.2.2 #33

Bump urllib3 from 2.1.0 to 2.2.2

Bump urllib3 from 2.1.0 to 2.2.2 #33

Workflow file for this run

---
on: # yamllint disable-line rule:truthy
push:
branches:
- master
- tests
pull_request:
workflow_dispatch:
env:
POETRY_VERSION: 1.8.2
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version:
- '3.9'
- '3.10'
- '3.11'
- '3.12'
steps:
- name: Checkout the repository
uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Load the cached Poetry installation
id: cached-poetry
uses: actions/cache@v4
with:
path: ~/.local
key: poetry-${{ env.POETRY_VERSION }}-0
- name: Install Poetry
if: steps.cached-poetry.outputs.cache-hit != 'true'
uses: snok/install-poetry@v1
with:
version: ${{ env.POETRY_VERSION }}
virtualenvs-create: true
virtualenvs-in-project: true
- name: Load the cached dependencies
id: cached-deps
uses: actions/cache@v4
with:
path: .venv
key: py${{ matrix.python-version }}-deps-${{ hashFiles('**/poetry.lock') }}
- name: Install dependencies
if: steps.cached-deps.outputs.cache-hit != 'true'
run: poetry install --no-interaction --no-root
- name: Perform package installation
run: poetry install --no-interaction
- name: Run tests
run: poetry run pytest