Skip to content

docs: add Conductor WAIT-gate approve endpoint and update test count … #37

docs: add Conductor WAIT-gate approve endpoint and update test count …

docs: add Conductor WAIT-gate approve endpoint and update test count … #37

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
runs-on: ubuntu-latest
services:
postgres:
image: postgres:16
env:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_DB: soc_test
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
ports:
- 5432:5432
env:
DATABASE_URL: postgresql://postgres:postgres@localhost:5432/soc_test
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.12
uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Install Python dependencies
run: pip install -r requirements-dev.txt
- name: Run Python tests
run: pytest tests/ -v
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: "1.21"
- name: Run Go tests
# actions/setup-python already put python3 (with cryptography installed
# above) on PATH, so the Fernet cross-language round-trip test resolves
# python3 correctly without any extra PATH manipulation.
run: go test ./... -v