From eb0ddbcfd5b8db95308fd702786d70eef62302e0 Mon Sep 17 00:00:00 2001 From: Kevin J Hoerr Date: Fri, 24 Sep 2021 18:57:54 +0000 Subject: Add drone configuration file --- .drone.yml | 18 ++++++++++++++++++ README.md | 2 ++ 2 files changed, 20 insertions(+) create mode 100644 .drone.yml diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..f4953a2 --- /dev/null +++ b/.drone.yml @@ -0,0 +1,18 @@ +kind: pipeline +type: kubernetes +name: default + +steps: +- name: AO Coverage Verify + image: node:lts + commands: + - yarn install --immutable --immutable-cache --check-cache + - yarn run test:coverage + - curl --proto '=https' --tlsv1.2 -sSf https://cov.submelon.dev/sh | sh + +trigger: + branch: + - trunk + event: + - pull_request + - push \ No newline at end of file diff --git a/README.md b/README.md index 93a25c8..99c89c9 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,6 @@ # ao-coverage +[![Build Status](https://drone.bleu.fish/api/badges/kjhoerr/ao-coverage/status.svg?ref=refs/heads/trunk)](https://drone.bleu.fish/kjhoerr/ao-coverage) +[![Coverage Status](https://cov.submelon.dev/v1/kjhoerr/ao-coverage/trunk.svg)](https://cov.submelon.dev/v1/kjhoerr/ao-coverage/trunk.xml) A simple coverage handler and server. The basic function provides an SVG badge with the coverage percentage and a link to the uploaded HTML coverage report. Only basic metadata is required to persist to track the latest commits for the linked branches. -- cgit