name: python-services-ci on: push: paths: - "services/**" - "gateway-bot/**" - ".github/workflows/python-services-ci.yml" pull_request: paths: - "services/**" - "gateway-bot/**" - ".github/workflows/python-services-ci.yml" jobs: python-service-checks: runs-on: ubuntu-latest strategy: fail-fast: false matrix: service: - services/rag-service - services/index-doc-worker - services/artifact-registry - gateway-bot steps: - name: Checkout uses: actions/checkout@v4 - name: Setup Python uses: actions/setup-python@v5 with: python-version: "3.11" cache: "pip" - name: Install deps (locked) working-directory: ${{ matrix.service }} run: | python -m pip install --upgrade pip python -m pip install -r requirements.txt -c requirements.lock - name: Pip check working-directory: ${{ matrix.service }} run: python -m pip check - name: Smoke compile working-directory: ${{ matrix.service }} run: python -m compileall -q .