Skip to content

Minus frontend.

Minus frontend. #41

Workflow file for this run

name: Tests
on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_dispatch:
jobs:
test:
name: Run tests with coverage
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- name: Install uv
run: curl -LsSf https://astral.sh/uv/install.sh | sh
- name: Install ripgrep
run: |
sudo apt-get update
sudo apt-get install -y ripgrep
- name: Build frontend
run: make frontend-build
- name: Install dependencies
run: uv sync
- name: Run tests with coverage
run: uv run pytest tests/ --cov=rx --cov-report=term-missing --cov-report=xml
# disabled for now — no codecov token yet.
# - name: Upload coverage to Codecov
# uses: codecov/codecov-action@v4
# with:
# file: ./coverage.xml
# fail_ci_if_error: false
# env:
# CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}