Skip to content

Feature Manifest Tests #1509

Feature Manifest Tests

Feature Manifest Tests #1509

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