Skip to content

Bump black from 22.12.0 to 24.4.2 #27

Bump black from 22.12.0 to 24.4.2

Bump black from 22.12.0 to 24.4.2 #27

Workflow file for this run

name: "CI"
on:
push:
branches:
- main
pull_request:
env:
XDG_CACHE_HOME: ${{ vars.GITHUB_WORKSPACE }}/.cache
jobs:
test:
strategy:
matrix:
python:
- python:3.8
- python:3.10
- python:3.11
runs-on: ubuntu-latest
container: ${{ matrix.python }}
steps:
- name: Checkout
uses: actions/checkout@v3
- uses: actions/cache@v3
with:
path: ${{ vars.GITHUB_WORKSPACE }}/.cache
key: cache-${{ matrix.python }}
- uses: actions/cache@v3
with:
path: .venv
key: venv-${{ matrix.python }}-${{ hashFiles('**/poetry.lock', '**/pyproject.toml') }}
- name: Install dependencies
run: |
pip install poetry
poetry config virtualenvs.in-project true
poetry install -vv
- name: Run tests
run: poetry run pytest -x --cov=bolivia_cc tests/