This repository contains infomation and tests meant to streamline the validation of Looker Marketplace projects submitted by third party developers of Custom Visualiztions, Blocks and other Looker custom projects. This testing repo validates Looker specific files.
- Jest
- Test Reporter - Will report test results in GitHub Actions
- GitHub Actions CI - Will run tests on PR or Push
- Existence of key files
- README.MD
- LICENSE
- One *.dashboard.lookml file
- Valid Marketplace.json file
- Constants exist and match in:
- Manifest.lkml
- Marketplace.json
- Constants are unique in Marketplace.json
- Constants Labels are unique in Marketplace.json
- File extensions for model/views are
.lkml
and not.lookml
-
Add the folder named
/.github/workflows
to the Looker repo to be tested. This tells GitHub you have a workflow to run. -
Upload
marketplace_automation.yml
from this repo to/.github/workflows
folder of the target Looker repo to be tested. -
Commit and PR to GitHub.
-
On GitHub Actions tab, see the CI execution flow and results of tests.