From e5d9b61308c978ff9e81a728a781574e61737876 Mon Sep 17 00:00:00 2001 From: Tom Finegan Date: Tue, 8 Feb 2022 12:25:33 -0800 Subject: [PATCH] More CI updates (#808) - Run test builds on push to master and nightly. - Update the badge link to point to the actions page - Use Github's generated badge markdown. --- .github/workflows/ci.yml | 18 +++++++++++++++--- README.md | 3 +-- 2 files changed, 16 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f2eb4b5..acef43d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,7 +1,19 @@ -on: [pull_request] -name: draco-ci -jobs: +on: + pull_request: + # Run on all pull requests. + push: + # Run on merges/pushes to master. + branches: + - master + + schedule: + # Run nightly, at midnight. + - cron: '8 0 * * *' + +name: draco-ci + +jobs: # Main build and test job. draco-tests: strategy: diff --git a/README.md b/README.md index 3c591c6..a64034e 100644 --- a/README.md +++ b/README.md @@ -2,8 +2,7 @@

-![draco-ci](https://github.com/google/draco/actions/workflows/ci.yml/badge.svg) - +[![draco-ci](https://github.com/google/draco/actions/workflows/ci.yml/badge.svg)](https://github.com/google/draco/actions/workflows/ci.yml) News =======