From 440a6375c5f91a5265cdb90ab753c9bf05bf0a20 Mon Sep 17 00:00:00 2001 From: John Rofrano Date: Sat, 11 Dec 2021 13:33:03 -0500 Subject: [PATCH] Added a badge to the README --- .github/workflows/workflow.yml | 2 +- README.md | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index 6fec6618..a5a1aa76 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -1,4 +1,4 @@ -name: Run Python Tests +name: CI Build on: push: branches: diff --git a/README.md b/README.md index 7df47320..d1e51ba9 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,12 @@ # lab-github-actions - + +[![Build Status](https://github.com/nyu-devops/lab-github-actions/actions/workflows/workflow.yml/badge.svg)](https://github.com/nyu-devops/lab-github-actions/actions) + This is for NYU DevOps lab on using GitHub Actions with Redis for Continuous Integration ## Introduction -This lab contains a `.ci.yaml` file that shows you how to run your tests and request that a Redis service be attached while running them. It also uses Code Coverage to determine how complete your testing is. +This lab contains a `workflow.yml` file in the `.github/workflows/` folder that shows you how to run your tests and start a Redis service be attached while running them. It also uses Code Coverage to determine how complete your testing is. GitHub Actions can be used as an alternative to Travis CI to run tests on every Pull Request to facilitate implementing Continuous Integration for your development team. Every Pull Request is an opportunity for a code review and any Pull Request that lowers the test coverage should be rejected until more test cases are added to bring the coverage back up to the threshold set by the team. (usually 90% to 95%)