From 7a294ce2673c0c0d1931e2a57aa35b91d8e1e704 Mon Sep 17 00:00:00 2001 From: Patrick Shriwise Date: Mon, 14 Dec 2020 16:59:23 +0000 Subject: [PATCH] Updating CI triggers. --- .github/workflows/ci.yml | 10 +++++++++- README.md | 2 +- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9cb51aa0f6..3945f19d5e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,6 +1,14 @@ name: CI -on: [push] +on: + pull_request: + branches: + - develop + - master + push: + branches: + - develop + - master env: MPI_DIR: /usr diff --git a/README.md b/README.md index 5a1a8d3d53..92ea1d8db3 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # OpenMC Monte Carlo Particle Transport Code [![License](https://img.shields.io/github/license/openmc-dev/openmc.svg)](http://openmc.readthedocs.io/en/latest/license.html) -[![GitHub Actions build status (Linux)](https://github.com/pshriwise/openmc/workflows/CI/badge.svg?branch=develop) +[![GitHub Actions build status (Linux)](https://github.com/pshriwise/openmc/workflows/CI/badge.svg?branch=develop)](https://github.com/openmc-dev/openmc/actions) [![Code Coverage](https://coveralls.io/repos/github/openmc-dev/openmc/badge.svg?branch=develop)](https://coveralls.io/github/openmc-dev/openmc?branch=develop) The OpenMC project aims to provide a fully-featured Monte Carlo particle