mirror of
https://github.com/boykopovar/AnyPS5.git
synced 2026-11-08 13:50:20 +00:00
A run of a converted game writes anyps5-report.json when it ends through exit or _exit (or the entry returns): the build revision, the game, the machine, and the unimplemented functions that were called. It is on by default; --aps5-report=off or APS5_REPORT=0 turns it off. Every text value is filtered for user names, host names, addresses and account numbers. Runs that crash, abort or are killed write no report yet; milestones, frame counts and shader and image lists are marked as not collected.
38 lines
1.1 KiB
YAML
38 lines
1.1 KiB
YAML
name: Run report schema
|
|
|
|
on:
|
|
pull_request:
|
|
paths:
|
|
- .github/workflows/run-report-schema.yml
|
|
- docs/run-report.schema.json
|
|
- docs/run-report-fixtures/**
|
|
- tools/requirements-run-report.txt
|
|
- tools/tests/test_run_report_schema.py
|
|
- tools/tests/test_run_report_docs.py
|
|
- docs/user/USAGE.md
|
|
- docs/user/run-report.md
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
concurrency:
|
|
group: run-report-schema-${{ github.event.pull_request.number }}
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
schema:
|
|
runs-on: ubuntu-latest
|
|
timeout-minutes: 5
|
|
steps:
|
|
- uses: actions/checkout@v7
|
|
with:
|
|
persist-credentials: false
|
|
- name: Install the pinned validator
|
|
run: |
|
|
python3 -m venv "$RUNNER_TEMP/venv"
|
|
"$RUNNER_TEMP/venv/bin/python" -m pip install --require-virtualenv -r tools/requirements-run-report.txt
|
|
- name: Validate the fixtures against the schema
|
|
run: '"$RUNNER_TEMP/venv/bin/python" tools/tests/test_run_report_schema.py'
|
|
- name: Check the run report docs
|
|
run: python3 tools/tests/test_run_report_docs.py
|