Skip to content

fix: update import path in tests/test_edit_tool.py #46

fix: update import path in tests/test_edit_tool.py

fix: update import path in tests/test_edit_tool.py #46

Workflow file for this run

name: Test
on:
workflow_dispatch:
push:
paths:
- 'mini_copilot/**'
- 'tests/**'
pull_request:
paths:
- 'mini_copilot/**'
- 'tests/**'
concurrency:
group: 'test'
cancel-in-progress: false
jobs:
test_job:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Python 3.13.2
uses: actions/setup-python@v4
with:
python-version: "3.13.2"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install coverage pytest-cov beautifulsoup4 readability-lxml lxml requests pyperclip
- name: Run test script
run: |
export PYTHONPATH=$PYTHONPATH:.
python3 -m coverage run -m unittest discover tests
python3 -m coverage report -m mini_copilot/*.py mini_copilot/commands/*.py