From e5d6d8b36cffe468b6a1a7ef190a26fba0b25e3d Mon Sep 17 00:00:00 2001 From: Kevin Chung Date: Fri, 17 Jul 2020 23:31:28 -0400 Subject: [PATCH] Codecov GitHub actions (#1551) * Run workflows more frequently to build status badges * Add Github status badges to README --- .github/workflows/lint.yml | 2 +- .github/workflows/mysql.yml | 2 +- .github/workflows/postgres.yml | 2 +- .github/workflows/sqlite.yml | 2 +- README.md | 3 ++- 5 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 654744a3..158966af 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -1,7 +1,7 @@ --- name: Linting -on: [push] +on: [push, pull_request] jobs: build: diff --git a/.github/workflows/mysql.yml b/.github/workflows/mysql.yml index e3498016..ddfb5db1 100644 --- a/.github/workflows/mysql.yml +++ b/.github/workflows/mysql.yml @@ -1,7 +1,7 @@ --- name: CTFd MySQL CI -on: [pull_request] +on: [push, pull_request] jobs: build: diff --git a/.github/workflows/postgres.yml b/.github/workflows/postgres.yml index c7522c5a..91b62be8 100644 --- a/.github/workflows/postgres.yml +++ b/.github/workflows/postgres.yml @@ -1,7 +1,7 @@ --- name: CTFd Postgres CI -on: [pull_request] +on: [push, pull_request] jobs: build: diff --git a/.github/workflows/sqlite.yml b/.github/workflows/sqlite.yml index 59a5d17e..66af2dad 100644 --- a/.github/workflows/sqlite.yml +++ b/.github/workflows/sqlite.yml @@ -1,7 +1,7 @@ --- name: CTFd SQLite CI -on: [pull_request] +on: [push, pull_request] jobs: build: diff --git a/README.md b/README.md index bc1688bc..fe8d3bcb 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,7 @@ # ![](https://github.com/CTFd/CTFd/blob/master/CTFd/themes/core/static/img/logo.png?raw=true) -[![Build Status](https://travis-ci.org/CTFd/CTFd.svg?branch=master)](https://travis-ci.org/CTFd/CTFd) +![CTFd CI](https://github.com/CTFd/CTFd/workflows/CTFd%20CI/badge.svg?branch=master) +![Linting](https://github.com/CTFd/CTFd/workflows/Linting/badge.svg?branch=master) [![MajorLeagueCyber Discourse](https://img.shields.io/discourse/status?server=https%3A%2F%2Fcommunity.majorleaguecyber.org%2F)](https://community.majorleaguecyber.org/) [![Documentation Status](https://api.netlify.com/api/v1/badges/6d10883a-77bb-45c1-a003-22ce1284190e/deploy-status)](https://docs.ctfd.io)