Skip to content

Create MultiLockType.NONE as a lock type #6

Create MultiLockType.NONE as a lock type

Create MultiLockType.NONE as a lock type #6

Workflow file for this run

name: CI
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
permissions:
contents: read
jobs:
test:
strategy:
fail-fast: false
matrix:
python-version: [ "3.9", "3.10", "3.11", "3.12" ]
uv-version: [ "0.4.0" ]
os: [ ubuntu-22.04 ]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Set up uv ${{ matrix.uv-version }}
uses: yezz123/setup-uv@v4
with:
uv-version: ${{ matrix.uv-version }}
- name: Set up cache
uses: actions/cache@v3
with:
path: ./.venv
key: venv-${{ hashFiles('uv.lock') }}
- name: Install dependencies
run: uv sync
- name: Lint and check code format
run: uv run ruff check
- name: Check types
run: uv run mypy .
- name: Run unit tests
run: uv run pytest --cov=asyncio_multilock