serpapi-ci-integration

Featured

Set up CI/CD for SerpApi integrations with fixture-based testing. Use when automating SerpApi tests without consuming credits, or validating search result parsing in CI. Trigger: "serpapi CI", "serpapi GitHub Actions", "serpapi automated tests".

AI & Automation 2,274 stars 319 forks Updated today MIT

Install

View on GitHub

Quality Score: 99/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# SerpApi CI Integration ## Overview CI for SerpApi should use fixture-based tests (no API credits consumed) for PRs, with optional live integration tests on main branch only. ## Instructions ### Step 1: GitHub Actions Workflow ```yaml name: SerpApi Tests on: [push, pull_request] jobs: unit-tests: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - uses: actions/setup-python@v5 with: { python-version: '3.12' } - run: pip install serpapi pytest - run: pytest tests/ -v # Uses fixtures, no API key needed integration: runs-on: ubuntu-latest if: github.ref == 'refs/heads/main' env: SERPAPI_API_KEY: ${{ secrets.SERPAPI_API_KEY }} steps: - uses: actions/checkout@v4 - uses: actions/setup-python@v5 with: { python-version: '3.12' } - run: pip install serpapi pytest - run: pytest tests/integration/ -v --timeout=30 ``` ### Step 2: Fixture-Based Unit Tests ```python # tests/test_search_parser.py import json, pytest def load_fixture(name): with open(f"tests/fixtures/{name}.json") as f: return json.load(f) def test_parse_organic_results(): result = load_fixture("google_python_tutorial") assert "organic_results" in result assert len(result["organic_results"]) > 0 assert result["organic_results"][0]["title"] def test_parse_youtube_results(): result = load_fixture("youtube_react_hooks") assert "video_results" in result assert result["vid...

Details

Author
jeremylongshore
Repository
jeremylongshore/claude-code-plugins-plus-skills
Created
7 months ago
Last Updated
today
Language
Python
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Featured

serpapi-local-dev-loop

Configure SerpApi local development with cached responses and test fixtures. Use when building search integrations, avoiding API calls during development, or setting up reproducible test data from SerpApi. Trigger: "serpapi dev setup", "serpapi local", "test serpapi locally".

2,274 Updated today
jeremylongshore
AI & Automation Featured

serpapi-install-auth

Install SerpApi client and configure API key authentication. Use when setting up SerpApi for search result scraping, configuring API keys, or initializing the serpapi Python/Node package. Trigger: "install serpapi", "setup serpapi", "serpapi auth", "serpapi API key".

2,274 Updated today
jeremylongshore
AI & Automation Featured

serpapi-prod-checklist

Production readiness checklist for SerpApi integrations. Use when deploying search features, validating credit budgets, or preparing SerpApi-powered apps for launch. Trigger: "serpapi production", "deploy serpapi", "serpapi go-live".

2,274 Updated today
jeremylongshore
AI & Automation Featured

serpapi-common-errors

Diagnose and fix SerpApi errors: invalid keys, exhausted credits, blocked searches. Use when SerpApi returns errors, empty results, or unexpected status codes. Trigger: "serpapi error", "fix serpapi", "serpapi not working", "serpapi empty results".

2,274 Updated today
jeremylongshore
AI & Automation Featured

serpapi-webhooks-events

Implement SerpApi async search callbacks and scheduled search monitoring. Use when setting up search monitoring, SERP tracking pipelines, or async search result retrieval. Trigger: "serpapi webhooks", "serpapi monitoring", "serpapi scheduled search", "serpapi async".

2,274 Updated today
jeremylongshore