Clean-machine quickstart lifecycle #1
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: Clean-machine quickstart lifecycle | |
| on: | |
| schedule: | |
| - cron: "30 7 * * *" # nightly, after the main CI schedule | |
| workflow_dispatch: | |
| concurrency: | |
| group: quickstart-lifecycle-${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| permissions: | |
| contents: read | |
| jobs: | |
| lifecycle: | |
| name: lifecycle (${{ matrix.os }}) | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: [ubuntu-latest, macos-latest, windows-latest] | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 | |
| - uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6.3.0 | |
| with: | |
| python-version: "3.12" | |
| cache: pip | |
| cache-dependency-path: pyproject.toml | |
| - name: Build wheel | |
| run: | | |
| python -m pip install build | |
| python -m build --wheel --outdir lifecycle-dist | |
| - name: Full lifecycle (Linux) | |
| if: runner.os == 'Linux' | |
| run: >- | |
| python scripts/quickstart_lifecycle.py | |
| --wheel "lifecycle-dist/*.whl" | |
| --work-dir "runs/lifecycle" | |
| --install-browser | |
| --browser-with-deps | |
| - name: Full lifecycle (macOS / Windows) | |
| if: runner.os != 'Linux' | |
| run: >- | |
| python scripts/quickstart_lifecycle.py | |
| --wheel "lifecycle-dist/*.whl" | |
| --work-dir "runs/lifecycle" | |
| --install-browser | |
| - name: Upload lifecycle evidence | |
| if: always() | |
| uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 | |
| with: | |
| name: quickstart-lifecycle-${{ matrix.os }} | |
| path: | | |
| runs/lifecycle/summary.json | |
| runs/lifecycle/logs/*.log | |
| runs/lifecycle/artifacts/**/REPORT.md | |
| runs/lifecycle/artifacts/**/report.json | |
| runs/lifecycle/artifacts/**/patch.json | |
| if-no-files-found: warn |