Skip to content

fix: pop -> popleft #125

fix: pop -> popleft

fix: pop -> popleft #125

Workflow file for this run

name: test
on:
push:
branches: [dev]
paths:
- "**.py"
- ".github/workflows/check.yaml"
- "pyproject.toml"
pull_request:
branches: [dev, main]
paths:
- "**.py"
- ".github/workflows/check.yaml"
- "pyproject.toml"
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v4
- name: Install rye
uses: phi-friday/[email protected]
id: install-rye
with:
python_version: ${{ matrix.python-version }}
use_uv: true
- name: Load cached venv
id: cached-venv-dependencies
uses: actions/cache@v4
with:
path: .venv
key: venv-${{ runner.os }}-${{ steps.install-rye.outputs.python-version }}-${{ hashFiles('**/pyproject.toml') }}
- name: Install dependencies
if: steps.cached-venv-dependencies.outputs.cache-hit != 'true'
run: |
rye sync
- name: Test with pytest
run: |
rye run pytest
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v4
if: matrix.python-version == '3.12'
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}