Skip to content

chore(deps): bump chardet from 6.0.0.post1 to 7.2.0 #111

chore(deps): bump chardet from 6.0.0.post1 to 7.2.0

chore(deps): bump chardet from 6.0.0.post1 to 7.2.0 #111

name: Test and Build
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Set up Python 3.12
uses: actions/setup-python@v6
with:
python-version: "3.12"
- name: Install dependencies
run: pip install -e ".[dev]"
- name: Lint
run: ruff check . && ruff format --check .
- name: Run tests
run: python -m pytest --cov=app tests/ --cov-report=xml --cov-report=term
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v5
with:
file: ./coverage.xml
fail_ci_if_error: false
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v4
- name: Build Docker image
uses: docker/build-push-action@v7
with:
context: .
push: false
tags: churchtools-api:latest
cache-from: type=gha
cache-to: type=gha,mode=max