Skip to content

feat: add without_timestamps argument #311

feat: add without_timestamps argument

feat: add without_timestamps argument #311

Workflow file for this run

name: test
on:
workflow_dispatch:
push:
branches:
- master
paths:
- "src/**"
- "tests/**"
- ".github/workflows/test.yaml"
pull_request:
paths:
- "src/**"
- "tests/**"
- ".github/workflows/test.yaml"
jobs:
pytest:
strategy:
fail-fast: false # Continue running jobs even if one fails
matrix:
# https://docs.github.com/en/actions/concepts/runners/about-larger-runners#about-macos-larger-runners
# NOTE: macos-15-large was failing with the following error:
# hint: You're on macOS (`macosx_15_0_x86_64`), but `ctranslate2` (v4.5.0) only has wheels for the following platforms: `manylinux_2_17_aarch64`, `manylinux_2_17_x86_64`, `manylinux2014_aarch64`, `manylinux2014_x86_64`, `macosx_11_0_arm64`, `win_amd64`; consider adding your platform to `tool.uv.required-environments` to ensure uv resolves to a version with compatible wheels
os: [ubuntu-24.04-4core-x86, ubuntu-24.04-4core-arm64, macos-15-xlarge]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: astral-sh/setup-uv@v6
with:
version: "latest"
enable-cache: true
activate-environment: true
- run: uv python install 3.12
- run: uv sync --all-extras
- run: uv run pytest -m "not requires_openai"