Feature Manifest Tests #1510
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: Feature Manifest Tests | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| merge_group: | |
| types: [checks_requested] | |
| jobs: | |
| check: | |
| name: "Check Local Feature Manifests" | |
| runs-on: ubuntu-24.04 | |
| permissions: | |
| contents: read | |
| steps: | |
| - uses: actions/checkout@v6 | |
| with: | |
| fetch-depth: 0 | |
| - uses: ./.github/actions/check-changed-paths | |
| id: check-paths | |
| with: | |
| paths: "experimenter/experimenter/features/manifests/ experimenter/manifesttool/ application-services/" | |
| - uses: ./.github/actions/setup-cached-build | |
| if: steps.check-paths.outputs.should-run == 'true' | |
| - uses: ./.github/actions/retry | |
| if: steps.check-paths.outputs.should-run == 'true' | |
| with: | |
| label: Build experimenter dev image | |
| run: | | |
| cp .env.sample .env | |
| make build_dev | |
| - name: Check local feature manifests | |
| if: steps.check-paths.outputs.should-run == 'true' | |
| run: | | |
| make feature_manifests FETCH_ARGS="--local-apps" | |
| if ! git diff --quiet experimenter/experimenter/features/manifests/; then | |
| echo 'Please commit generated updates to local feature manifests:' | |
| echo | |
| echo ' make feature_manifests FETCH_ARGS="--local-apps"' | |
| echo | |
| exit 1 | |
| fi |