Skip to content

Update README.md

Update README.md #103

Workflow file for this run

name: CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build-test:
name: Build & Test (Ubuntu)
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: Install system dependencies
run: |
sudo apt-get update
sudo apt-get install -y build-essential
- name: Install project dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install -r requirements-dev.txt || true
- name: Lint (flake8)
run: |
pip install flake8
flake8 .
- name: Type Check (mypy)
run: |
pip install mypy
mypy .
- name: Run Tests (pytest)
run: |
pip install pytest pytest-cov
pytest --cov=ufo --cov-report=xml --cov-report=term
- name: Build package
run: |
pip install build
python -m build
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
with:
files: ./coverage.xml
fail_ci_if_error: false