Skip to content

Bump urllib3 from 2.5.0 to 2.6.0 #12

Bump urllib3 from 2.5.0 to 2.6.0

Bump urllib3 from 2.5.0 to 2.6.0 #12

Workflow file for this run

# This workflow will install Python dependencies,
# statically check the code with ruff
# run all tests in tests/
# check if test coverage is above the threshold
name: CI for main branch (production)
on:
pull_request:
branches:
- "main"
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Python 3.13
uses: actions/setup-python@v3
with:
python-version: "3.13"
- name: Install poetry
run: |
python -m pip install --upgrade pip
pip install poetry
poetry --version
- name: Install dependencies from poetry lock file
run: poetry install
- name: Check code quality with Ruff linter
run: poetry run ruff check --output-format=github
- name: Check code formatting with Ruff
run: poetry run ruff format --diff
# - name: Run tests with pytest that do not needs secrets and check test coverage
# run: |
# poetry run python -m pytest tests -m "not needs_secrets" --cov=retrievalpipeline --cov-report=term --cov-fail-under=75
- name: Log into registry
uses: docker/login-action@v3
with:
registry: ${{ secrets.ACR_ENDPOINT }}
username: ${{ secrets.ACR_USERNAME }}
password: ${{ secrets.ACR_PASSWORD }}
- name: Build & Push
uses: docker/build-push-action@v5
with:
push: true
tags: ${{ secrets.ACR_ENDPOINT }}/${{ vars.IMAGE_NAME }}:prod
file: ./Dockerfile