Skip to content

fix(tasks): prevent task type wrapping in rmd ls and bump version to … #30

fix(tasks): prevent task type wrapping in rmd ls and bump version to …

fix(tasks): prevent task type wrapping in rmd ls and bump version to … #30

Workflow file for this run

name: CLI Tests
on:
push:
branches: [ main, master, develop ]
pull_request:
branches: [ main, master, develop ]
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.12"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Set up uv
uses: astral-sh/setup-uv@v6
with:
enable-cache: true
- name: Run CLI tests with pytest
run: |
uv run --with pytest-cov pytest tests/test_cli_commands.py tests/test_deadline_management.py tests/test_habit_prompt.py -v --cov=schedule_management --cov-report=xml --cov-report=term-missing
- name: Upload coverage reports
if: matrix.python-version == '3.12'
uses: codecov/codecov-action@v3
with:
file: ./coverage.xml
fail_ci_if_error: false
flags: cli-tests
name: cli-tests-coverage