Skip to content

fix: update silent review examples #323

fix: update silent review examples

fix: update silent review examples #323

Workflow file for this run

name: CI
env:
UV_FROZEN: "1"
permissions:
contents: read
on:
push:
branches: [main]
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
merge_group:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
set-ci-tests-condition:
name: Should Run CI tests
runs-on: ubuntu-latest
outputs:
should-run-tests: ${{ github.repository == 'AgentToolkit/agent-lifecycle-toolkit' || github.event_name == 'merge_group' }} # we only want to run tests when the PR is in a merge queue or the current repository
steps:
# A job must have a `steps` or `uses` entry to make sure it can be executed
- run: echo "Debugging CI condition"
- run: echo "Should run tests? -> ${{ github.event_name == 'merge_group' }}"
check-code:
uses: ./.github/workflows/check-code.yml
run-tests:
needs: [set-ci-tests-condition]
if: needs.set-ci-tests-condition.outputs.should-run-tests == 'true'
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ['3.10', '3.11', '3.12', '3.13']
env:
WX_API_KEY: ${{ secrets.WX_API_KEY }}
WX_PROJECT_ID: ${{ secrets.WX_PROJECT_ID }}
WX_SPACE_ID: ${{ secrets. WX_SPACE_ID }}
WX_URL: ${{ vars.WX_URL }}
steps:
- name: Checkout code
uses: actions/checkout@v5
- uses: ./.github/actions/setup-python-uv
- uses: ./.github/actions/run-tests