Skip to content

Bump urllib3 from 2.6.0 to 2.6.3 #357

Bump urllib3 from 2.6.0 to 2.6.3

Bump urllib3 from 2.6.0 to 2.6.3 #357

Workflow file for this run

---
# used for running tests
name: tests
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
pre_commit_checks:
runs-on: ubuntu-24.04
# we avoid running duplicative
# pre-commit checks for dependabot PRs
if: github.actor != 'dependabot[bot]'
steps:
# checks out the repo
- uses: actions/checkout@v6
- name: Python setup
uses: actions/setup-python@v6
with:
python-version: "3.11"
- name: Setup for poetry
run: |
python -m pip install poetry
- name: Simulate version tag for cosmicqc install compatibility
run: |
poetry version 99.0.0
- name: Install environment
run: poetry install --no-interaction --no-ansi
# run pre-commit
- uses: pre-commit/action@v3.0.1
id: pre_commit
# run pre-commit ci lite for automated fixes
- uses: pre-commit-ci/lite-action@v1.1.0
if: ${{ !cancelled() && steps.pre_commit.outcome == 'failure' }}
run_tests:
strategy:
matrix:
python_version: ["3.11", "3.12", "3.13"]
os: [ubuntu-24.04, macos-14]
runs-on: ${{ matrix.os }}
env:
OS: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v6
- name: Python setup
uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python_version }}
- name: Setup for poetry
run: |
python -m pip install poetry
- name: Simulate version tag for cosmicqc install compatibility
run: |
poetry version 99.0.0
- name: Install environment
run: poetry install --no-interaction --no-ansi
- name: Run pytest (non-3.13)
if: ${{ matrix.python_version != '3.13' }}
# run all tests
run: poetry run pytest
- name: Run pytest (py 3.13)
if: ${{ matrix.python_version == '3.13' }}
# run all tests except integration tests with cosmicqc
run: poetry run pytest --ignore=tests/test_project_integration.py
- name: Reset version to 0.0.0
run: |
poetry version 0.0.0