Merge pull request #1139 from ai-agent-assembly/dependabot/github_act… #61
Workflow file for this run
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: dev-verify | |
| permissions: | |
| contents: read | |
| on: | |
| push: | |
| branches: [master] | |
| paths: | |
| - "Makefile" | |
| - "scripts/**" | |
| - ".github/workflows/dev-verify.yml" | |
| - "!**/*.md" | |
| - "!**/LICENSE" | |
| - "!**/*.png" | |
| - "!**/*.jpg" | |
| - "!**/*.jpeg" | |
| - "!**/*.gif" | |
| - "!**/*.webp" | |
| - "!**/*.ico" | |
| pull_request: | |
| branches: [master] | |
| paths: | |
| - "Makefile" | |
| - "scripts/**" | |
| - ".github/workflows/dev-verify.yml" | |
| - "!**/*.md" | |
| - "!**/LICENSE" | |
| - "!**/*.png" | |
| - "!**/*.jpg" | |
| - "!**/*.jpeg" | |
| - "!**/*.gif" | |
| - "!**/*.webp" | |
| - "!**/*.ico" | |
| jobs: | |
| dev-verify: | |
| name: dev-verify (smoke tests + gateway health) | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - name: Clone SDK repos as siblings | |
| # sdk-repos.txt lists SSH URLs; CI uses HTTPS equivalents. | |
| run: | | |
| parent="$(dirname "$GITHUB_WORKSPACE")" | |
| git clone https://github.com/ai-agent-assembly/python-sdk.git "$parent/python-sdk" | |
| git clone https://github.com/ai-agent-assembly/node-sdk.git "$parent/node-sdk" | |
| git clone https://github.com/ai-agent-assembly/go-sdk.git "$parent/go-sdk" | |
| - uses: actions/setup-python@v6 | |
| with: | |
| python-version: "3.12" | |
| - name: Install Python smoke test dependencies | |
| # pytest.ini addopts in python-sdk require pytest-cov, pytest-rerunfailures, | |
| # and pytest-asyncio. Install all dev deps to match the SDK's test environment. | |
| run: | | |
| pip install \ | |
| pytest pytest-cov coverage \ | |
| pytest-rerunfailures pytest-asyncio \ | |
| python-dotenv pytest-benchmark | |
| - uses: pnpm/action-setup@0e279bb959325dab635dd2c09392533439d90093 # v6.0.8 | |
| with: | |
| version: "10.33.2" | |
| - uses: actions/setup-node@v6 | |
| with: | |
| node-version: "20" | |
| - name: Install Node SDK dependencies | |
| # --ignore-scripts skips the napi-rs postinstall that builds native bindings; | |
| # smoke tests are pure JS/TS and do not require the compiled .node file. | |
| run: pnpm install --no-frozen-lockfile --ignore-scripts | |
| working-directory: ${{ github.workspace }}/../node-sdk | |
| - uses: actions/setup-go@v6 | |
| with: | |
| go-version: "stable" | |
| - name: Run dev-verify | |
| run: make dev-verify | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: ${{ github.event_name == 'pull_request' }} |