Giter Site home page Giter Site logo

check-run-reporter / check-run-reporter-buildkite-plugin Goto Github PK

View Code? Open in Web Editor NEW
5.0 2.0 10.0 196.52 MB

A Buildkite plugin for uploading structured test reports to check-run-reporter.com for reporting, stability analysic, and optimization.

Shell 100.00%
buildkite-plugin buildkite checkstyle ci code-quality eslint github junit swiftlint

check-run-reporter-buildkite-plugin's Introduction

Check Run Reporter Buildkite Plugin

This is a Buildkite plugin for Check Run Reporter

Check Run Reporter makes it easier to see what your CI system is trying to tell you. It let's you view your test and code style results without leaving GitHub and it helps distribute your tests across multiple agents.

Examples

Submitting Test and Style Results

Check Run Reporter's most basic function is to receive your results and send them back to GitHub as Check Runs.

steps:
    - command: npm test
      plugins:
          - check-run-reporter/check-run-reporter#v2.13.0:
                report: 'reports/junit/**/*.xml'
                token: '<your repo token>'

Splitting tests across agents

Once you've configured your Buildkite agents to send results to Check Run Reporter, CRR can use your timing data to help you distribute your tests across your CI agents.

When you tell the plugin where to find your tests, it will set an environment variable, CHECK_RUN_REPORTER_TESTS_FOR_THIS_AGENT with the list of tests that should run on this host.

steps:
    - command: npm test -- $$CHECK_RUN_REPORTER_TESTS_FOR_THIS_AGENT
      plugins:
          - check-run-reporter/check-run-reporter#v2.13.0:
                tests: 'src/**/*.spec.ts,!src/storyshots.spec.ts'
                report: 'reports/junit/**/*.xml'
                token: '<your repo token>'

Configuration

report (Required, string)

Path or glob to the job's report files. Separate multiple globs with a semicolon.

tests (Optional, string)

Path or glob to the job's test files. Separate multiple globs with a semicolon.

label (Optional, string)

Label that should appear in the GitHub check. Defaults to the job's BUILDKITE_LABEL.

root (Optional, string)

Defaults to the project's working directory

token (Required, string)

Repo token to authenticate the upload. You can get your tokens from https://www.check-run-reporter.com/repos.

Contributing

This repository is only for publication. Please see the integrations repository to contribute.

check-run-reporter-buildkite-plugin's People

Contributors

ianwremmel avatar semantic-release-bot avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  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.