Skip to content

Make wait_for_http timeout tests deterministic under scheduler load #200

Make wait_for_http timeout tests deterministic under scheduler load

Make wait_for_http timeout tests deterministic under scheduler load #200

Workflow file for this run

name: CodeQL
on:
push:
branches: [main]
pull_request:
branches: [main]
schedule:
- cron: '32 5 * * 1'
concurrency:
group: codeql-${{ github.ref }}
cancel-in-progress: true
jobs:
analyze-python:
name: Analyze (Python)
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write
steps:
# Actions are pinned to a full commit SHA (supply-chain hardening); the
# trailing comment records the human-readable version.
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
with:
persist-credentials: false
- name: Initialize CodeQL
uses: github/codeql-action/init@99df26d4f13ea111d4ec1a7dddef6063f76b97e9 # v4
with:
languages: python
queries: security-and-quality
# Python is interpreted — there is nothing to compile, so no build step.
build-mode: none
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@99df26d4f13ea111d4ec1a7dddef6063f76b97e9 # v4
with:
category: "/language:python"
analyze-rust:
name: Analyze (Rust)
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
with:
persist-credentials: false
# Rust requires compilation for CodeQL analysis.
- uses: dtolnay/rust-toolchain@fa04a1451ff1842e2626ccb99004d0195b455a88 # stable
with:
toolchain: stable
- name: Initialize CodeQL
uses: github/codeql-action/init@99df26d4f13ea111d4ec1a7dddef6063f76b97e9 # v4
with:
languages: rust
queries: security-and-quality
# `extension-module` is an optional Cargo feature that must be active for the
# cdylib to compile (it enables the PyInit__processkit FFI entry point).
- name: Build (for CodeQL)
run: cargo build --features extension-module
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@99df26d4f13ea111d4ec1a7dddef6063f76b97e9 # v4
with:
category: "/language:rust"