Skip to content
This repository was archived by the owner on Aug 24, 2025. It is now read-only.

Merge pull request #2 from mistiru/renovate/actions-checkout-5.x #36

Merge pull request #2 from mistiru/renovate/actions-checkout-5.x

Merge pull request #2 from mistiru/renovate/actions-checkout-5.x #36

Workflow file for this run

name: Tests
on:
push:
branches:
- '**'
jobs:
tests:
name: Run tests
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.9", "3.10", "3.11", "3.12"]
steps:
- name: Checkout repo
uses: actions/checkout@v5
- name: Setup uv and set the python version
uses: astral-sh/setup-uv@v6
with:
enable-cache: true
python-version: ${{ matrix.python-version }}
- name: Install the project
run: uv sync --all-extras --dev
- name: Run tests
run: uv run python -Wa -m pytest --cov=odoo_orm --cov-report xml tests
- name: Upload coverage results
uses: codecov/codecov-action@v4
with:
fail_ci_if_error: true
token: ${{ secrets.CODECOV_TOKEN }}