Skip to content

Chore: Format code using Ruff. Satisfy and enable linter on CI. #12

Chore: Format code using Ruff. Satisfy and enable linter on CI.

Chore: Format code using Ruff. Satisfy and enable linter on CI. #12

Workflow file for this run

name: "Tests"
on:
push:
branches: [ main ]
pull_request: ~
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
test-cpython:
name: "
CPython ${{ matrix.python-version }}
"
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: ['ubuntu-latest']
python-version: ['3.13']
env:
OS: ${{ matrix.os }}
PYTHON: ${{ matrix.python-version }}
services:
cratedb:
image: crate/crate:nightly
ports:
- 4200:4200
steps:
- name: Acquire sources
uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
architecture: x64
cache: 'pip'
cache-dependency-path: |
pyproject.toml
requirements*.txt
- name: Set up project tools
run: uv pip install --system --requirement=requirements.txt --requirement=requirements-dev.txt
- name: Run linters and software tests
run: poe check
# https://github.com/codecov/codecov-action
- name: Upload coverage results to Codecov
uses: codecov/codecov-action@v4
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
with:
files: ./coverage.xml
flags: main
env_vars: OS,PYTHON
name: codecov-umbrella
fail_ci_if_error: false