Skip to content

chore(deps): bump urllib3 from 2.5.0 to 2.6.0 #259

chore(deps): bump urllib3 from 2.5.0 to 2.6.0

chore(deps): bump urllib3 from 2.5.0 to 2.6.0 #259

Workflow file for this run

name: 🛠️ CI
on:
push:
branches: [main, "feat/*", "fix/*"]
pull_request:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
services:
mongo:
image: mongo:7.0
ports:
- 27017:27017
options: >-
--health-cmd "mongosh --eval 'db.runCommand({ ping: 1 })'"
--health-interval 10s
--health-timeout 5s
--health-retries 5
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.13'
- name: Cache Poetry dependencies
uses: actions/cache@v4
with:
path: |
~/.cache/pypoetry
~/.cache/pip
key: poetry-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/poetry.lock') }}
restore-keys: |
poetry-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-
- name: Install Poetry
uses: abatilo/actions-poetry@v3
- name: Install dependencies
run: poetry install
- name: Wait for MongoDB
run: |
for i in {1..30}; do
nc -z localhost 27017 && break
sleep 1
done
- name: Run tests
env:
MONGO_DATABASE: devschannel_test
MONGO_HOST: localhost
MONGO_PORT: 27017
SECRET_KEY: test-secret-key-for-ci
run: make test
- name: Lint with black
run: poetry run black -l 100 --exclude="\.venv" --check .
- name: Lint with flake8
run: make flake