test: add unit tests for resources.py endpoint #1611
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Test Linux | |
| on: | |
| pull_request: | |
| push: | |
| branches: | |
| - main | |
| - master | |
| jobs: | |
| integration-smoke: | |
| runs-on: ubuntu-latest | |
| defaults: | |
| run: | |
| working-directory: dream-server | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Docs Link Checks | |
| run: bash tests/test-doc-links.sh | |
| - name: Integration Smoke | |
| run: bash tests/integration-test.sh | |
| - name: Extension Audit | |
| run: | | |
| python3 scripts/audit-extensions.py --project-dir . | |
| bash tests/test-extension-audit.sh | |
| - name: Extension Runtime Check Tests | |
| run: bash tests/test-extension-runtime-check.sh | |
| - name: Phase C P1 Static Checks | |
| run: bash tests/test-phase-c-p1.sh | |
| - name: Manifest Compatibility Checks | |
| run: | | |
| bash scripts/check-compatibility.sh | |
| bash scripts/check-release-claims.sh | |
| - name: BATS Unit Tests | |
| run: bash tests/run-bats.sh | |
| - name: Tier Map Unit Tests | |
| run: bash tests/test-tier-map.sh | |
| - name: Service Registry Tests | |
| run: bash tests/test-service-registry.sh | |
| - name: Validate Manifests Tests | |
| run: bash tests/test-validate-manifests.sh | |
| - name: Health Check Tests | |
| run: bash tests/test-health-check.sh | |
| - name: Dream Doctor Tests | |
| run: bash tests/test-dream-doctor.sh | |
| - name: Windows Report Command Tests | |
| run: bash tests/test-windows-report-command.sh | |
| - name: Validate Env Tests | |
| run: bash tests/test-validate-env.sh | |
| - name: Validate Simulation Summary Tests | |
| run: bash tests/test-validate-sim-summary.sh | |
| - name: CPU-Only Path Tests | |
| run: bash tests/test-cpu-only-path.sh | |
| - name: Installer Contract Checks | |
| run: | | |
| bash tests/contracts/test-installer-contracts.sh | |
| bash tests/contracts/test-preflight-fixtures.sh | |
| - name: Linux install preflight tests | |
| run: bash tests/test-linux-install-preflight.sh | |
| - name: Installer Simulation Harness | |
| run: | | |
| bash scripts/simulate-installers.sh | |
| test -f artifacts/installer-sim/summary.json | |
| test -f artifacts/installer-sim/SUMMARY.md | |
| python3 scripts/validate-sim-summary.py artifacts/installer-sim/summary.json | |
| - name: Upload Installer Simulation Artifacts | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: installer-sim | |
| path: | | |
| dream-server/artifacts/installer-sim/summary.json | |
| dream-server/artifacts/installer-sim/SUMMARY.md | |
| dream-server/artifacts/installer-sim/linux-dryrun.log | |
| dream-server/artifacts/installer-sim/macos-installer.log | |
| dream-server/artifacts/installer-sim/windows-preflight-sim.json | |
| dream-server/artifacts/installer-sim/macos-preflight.json | |
| dream-server/artifacts/installer-sim/macos-doctor.json | |
| dream-server/artifacts/installer-sim/doctor.json |