Skip to content

Set compute type to int8 for development to reduce build time #255

Set compute type to int8 for development to reduce build time

Set compute type to int8 for development to reduce build time #255

Workflow file for this run

name: koffee CI
on: [push, pull_request]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [macos-latest, ubuntu-latest]
python-version: ["3.10", "3.11", "3.12"]
steps:
- name: Check out repository
uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install ffmpeg
uses: FedericoCarboni/setup-ffmpeg@v3
with:
architecture: 'x64'
- name: Install uv
uses: astral-sh/setup-uv@v5
- name: Build
uses: nick-fields/retry@v3
with:
timeout_minutes: 30
max_attempts: 3
retry_wait_seconds: 10
command: make build
- name: Generate coverage report
run: |
pip install pytest-cov
coverage report
coverage xml
- name: Upload coverage report to Codecov
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
flags: unittests
env_vars: OS,PYTHON
name: Python ${{ matrix.python-version }} on ${{ runner.os }}