From 7a27af99a25eb7cae473eeaaf083861798f6a585 Mon Sep 17 00:00:00 2001 From: yusyus Date: Sun, 26 Oct 2025 13:21:29 +0300 Subject: [PATCH] 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