From f697cb265dc527f6fed31a49e0bbd92864dcc0d9 Mon Sep 17 00:00:00 2001 From: "don.sizemore" Date: Mon, 3 May 2021 11:09:28 -0400 Subject: [PATCH] #7837 add basic Sphinx-build GitHub Action and accompanying status badge --- .github/workflows/guides_build_sphinx.yml | 12 ++++++++++++ README.md | 1 + 2 files changed, 13 insertions(+) create mode 100644 .github/workflows/guides_build_sphinx.yml diff --git a/.github/workflows/guides_build_sphinx.yml b/.github/workflows/guides_build_sphinx.yml new file mode 100644 index 00000000000..b9a17201cad --- /dev/null +++ b/.github/workflows/guides_build_sphinx.yml @@ -0,0 +1,12 @@ +name: "Guides Build Status" +on: +- pull_request + +jobs: + docs: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: ammaraskar/sphinx-action@master + with: + docs-folder: "doc/sphinx-guides/source/" diff --git a/README.md b/README.md index 7de19092479..3f3b8c2de90 100644 --- a/README.md +++ b/README.md @@ -21,6 +21,7 @@ Dataverse is a trademark of President and Fellows of Harvard College and is regi [![API Test Coverage](https://img.shields.io/jenkins/coverage/jacoco?jobUrl=https%3A%2F%2Fjenkins.dataverse.org%2Fjob%2FIQSS-dataverse-develop&label=API%20Test%20Coverage)](https://jenkins.dataverse.org/job/IQSS-dataverse-develop/ws/target/coverage-it/index.html) [![Unit Test Status](https://img.shields.io/travis/IQSS/dataverse?label=Unit%20Test%20Status)](https://travis-ci.org/IQSS/dataverse) [![Unit Test Coverage](https://img.shields.io/coveralls/github/IQSS/dataverse?label=Unit%20Test%20Coverage)](https://coveralls.io/github/IQSS/dataverse?branch=develop) +[![Guides Build Status](https://github.com/IQSS/dataverse/actions/workflows/guides_build_sphinx.yml/badge.svg)](https://github.com/IQSS/dataverse/actions/workflows/guides_build_sphinx.yml) [dataverse.org]: https://dataverse.org [demo.dataverse.org]: https://demo.dataverse.org