Skip to content

Bump urllib3 from 2.0.3 to 2.6.0 #66

Bump urllib3 from 2.0.3 to 2.6.0

Bump urllib3 from 2.0.3 to 2.6.0 #66

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2.7.0
- name: Set up Python
uses: actions/setup-python@e9aba2c848f5ebd159c070c61ea2c4e2b122355e # v2.3.4
with:
python-version: '3.11'
- name: Install dependencies
run: |
python -m pip install poetry
sed -i 's/^torch =.*/torch = { url = "https:\/\/download.pytorch.org\/whl\/cpu\/torch-2.0.1%2Bcpu-cp311-cp311-linux_x86_64.whl" }/' pyproject.toml
poetry install
- name: Run black for code formatting
run: |
poetry run black --check .
- name: Run ruff for style checks
run: |
poetry run ruff .
- name: Run pytest for tests
run: |
poetry run pytest tests