Skip to content

Merge pull request #146 from phoenixvc/feat/agent-quartermaster/batch… #4

Merge pull request #146 from phoenixvc/feat/agent-quartermaster/batch…

Merge pull request #146 from phoenixvc/feat/agent-quartermaster/batch… #4

name: Batch service contract tests
on:
pull_request:
paths:
- "batch-service/**"
- ".github/workflows/batch-service-tests.yaml"
push:
branches:
- main
- dev
paths:
- "batch-service/**"
- ".github/workflows/batch-service-tests.yaml"
permissions:
contents: read
jobs:
contract-tests:
name: Python 3.13 mocked contract tests
runs-on: ubuntu-latest
timeout-minutes: 10
defaults:
run:
working-directory: batch-service
steps:
- name: Check out repository
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.13"
cache: pip
cache-dependency-path: batch-service/requirements-test.txt
- name: Install test dependencies
run: python -m pip install --requirement requirements-test.txt
- name: Run mocked contract tests
env:
BATCH_JOB_ID_SIGNING_KEY: contract-tests-only
run: python -m pytest -q