From 587149c493f5273d18eb951839650874aebbd4d1 Mon Sep 17 00:00:00 2001 From: yusyus Date: Sun, 26 Oct 2025 13:21:29 +0300 Subject: [PATCH 1/2] fix: Update GitHub Actions workflow for refactored package structure MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fix test failures in CI by updating dependencies installation: - Install from requirements.txt (includes httpx for async support) - Update path: mcp/ → skill_seeker_mcp/ - Fix coverage command to use correct package name Fixes ModuleNotFoundError: No module named 'httpx' in CI 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- .github/workflows/tests.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 39cf048..57210e1 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -31,16 +31,15 @@ jobs: uses: actions/cache@v3 with: path: ~/.cache/pip - key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt', 'mcp/requirements.txt') }} + key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt', 'skill_seeker_mcp/requirements.txt') }} restore-keys: | ${{ runner.os }}-pip- - name: Install dependencies run: | python -m pip install --upgrade pip - pip install requests beautifulsoup4 - pip install pytest pytest-cov - if [ -f mcp/requirements.txt ]; then pip install -r mcp/requirements.txt; fi + pip install -r requirements.txt + if [ -f skill_seeker_mcp/requirements.txt ]; then pip install -r skill_seeker_mcp/requirements.txt; fi - name: Run CLI tests run: | @@ -54,7 +53,7 @@ jobs: - name: Generate coverage report run: | - python -m pytest tests/ --cov=cli --cov=mcp --cov-report=xml --cov-report=term + python -m pytest tests/ --cov=cli --cov=skill_seeker_mcp --cov-report=xml --cov-report=term - name: Upload coverage to Codecov uses: codecov/codecov-action@v3 From 2cc5525fc61980c7a724a802d4f13f888776ad9b Mon Sep 17 00:00:00 2001 From: yusyus Date: Sun, 26 Oct 2025 13:23:07 +0300 Subject: [PATCH 2/2] test: Update version assertion to 1.3.0 in test_package_structure MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Update expected version from 1.2.0 to 1.3.0 in test_cli_has_version 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- tests/test_package_structure.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_package_structure.py b/tests/test_package_structure.py index a05f2e0..5dffea9 100644 --- a/tests/test_package_structure.py +++ b/tests/test_package_structure.py @@ -21,7 +21,7 @@ class TestCliPackage: """Test that cli package has __version__.""" import cli assert hasattr(cli, '__version__') - assert cli.__version__ == '1.2.0' + assert cli.__version__ == '1.3.0' def test_cli_has_all(self): """Test that cli package has __all__ export list."""