Skip to content

chore: capture local evidence environment lock #3

chore: capture local evidence environment lock

chore: capture local evidence environment lock #3

Workflow file for this run

name: Fashionpedia Evidence CI
on:
push:
branches: [main]
pull_request:
workflow_dispatch:
permissions:
contents: read
jobs:
fixture-contracts:
name: Static evidence fixture contracts
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Check out repository
uses: actions/checkout@v4
- name: Set up Python 3.11
uses: actions/setup-python@v5
with:
python-version: "3.11"
cache: pip
cache-dependency-path: requirements-ci.txt
- name: Install CI test dependency
run: python -m pip install --disable-pip-version-check --requirement requirements-ci.txt
- name: Compile tracked Python sources
run: python -m compileall -q scripts tests
- name: Validate public documentation contracts
run: python -B scripts/validate_documentation.py
- name: Run static evidence fixture contracts
run: |
mkdir -p artifacts
python -m pytest -q tests/test_ci_release_fixture_contracts.py \
--junitxml=artifacts/fashionpedia_ci_fixture_contracts.junit.xml
- name: Upload CI reports
if: always()
uses: actions/upload-artifact@v4
with:
name: fashionpedia-ci-reports-${{ github.run_id }}
path: artifacts/
if-no-files-found: error
retention-days: 30