Git Product home page Git Product logo

looker-marketplace-json-tests's Introduction

Marketplace Automation Test Repo

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.

Tools

  1. Jest
  2. Test Reporter - Will report test results in GitHub Actions
  3. GitHub Actions CI - Will run tests on PR or Push

What will be Tested

  1. Existence of key files
    • README.MD
    • LICENSE
    • One *.dashboard.lookml file
  2. Valid Marketplace.json file
  3. Constants exist and match in:
    • Manifest.lkml
    • Marketplace.json
  4. Constants are unique in Marketplace.json
  5. Constants Labels are unique in Marketplace.json
  6. File extensions for model/views are .lkml and not .lookml

Setup

  1. Add the folder named /.github/workflows to the Looker repo to be tested. This tells GitHub you have a workflow to run.

  2. Upload marketplace_automation.yml from this repo to /.github/workflows folder of the target Looker repo to be tested.

  3. Commit and PR to GitHub.

  4. On GitHub Actions tab, see the CI execution flow and results of tests.

looker-marketplace-json-tests's People

Contributors

calvincheng919 avatar

Watchers

Matt Gitchell avatar Dan Chapman avatar David Stocker avatar Mark Fehrenbacher avatar Eric Foard avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.