Skip to content

chore: remove Docker Hub build step from CI/CD #8

chore: remove Docker Hub build step from CI/CD

chore: remove Docker Hub build step from CI/CD #8

Workflow file for this run

name: CI/CD Pipeline
on:
push:
branches: [main]
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.13'
cache: 'pip'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install black flake8
- name: Run Black (formatting check)
run: black --check --diff .
- name: Run Flake8 (linting)
run: flake8 api/ tests/ --max-line-length=88 --extend-ignore=E203,W503,E501,F401
- name: Run tests with coverage
run: |
pytest tests/ -v --cov=api --cov-report=xml --cov-report=term-missing
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
with:
files: ./coverage.xml
fail_ci_if_error: false
verbose: true
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}