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