feat(opensource): add ScrapeGraphAI #261
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Pull request | |
| on: | |
| pull_request: | |
| branches: | |
| - main | |
| paths: | |
| - ".github/workflows/test.yml" | |
| - "awesome/**" | |
| - "scheme/**" | |
| - "scripts/render.py" | |
| - "scripts/check.py" | |
| types: [opened, synchronize] | |
| jobs: | |
| test-data: | |
| name: Test Data | |
| runs-on: ubuntu-22.04 | |
| steps: | |
| - name: Check out code | |
| uses: actions/checkout@v4 | |
| - name: Setup Python | |
| id: setup-python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version-file: ".python-version" | |
| - name: Setup Uv | |
| id: setup-uv | |
| uses: astral-sh/setup-uv@v6 | |
| with: | |
| enable-cache: true | |
| cache-dependency-glob: | | |
| uv.lock | |
| pyproject.toml | |
| - name: Setup environment | |
| run: | | |
| echo "Pipeline info" | |
| echo " - OS: $(uname -mo)" | |
| echo " - UV version: ${{ steps.setup-uv.outputs.uv-version }}" | |
| echo " - Python version: ${{ steps.setup-python.outputs.python-version}}" | |
| uv sync --all-extras | |
| - name: Linting test | |
| timeout-minutes: 10 | |
| uses: pre-commit/[email protected] | |
| - name: Awesome data test | |
| run: | | |
| uv run make test |