From 3dbce1d61f900bb094aa89d4630b42b7619e4d1e Mon Sep 17 00:00:00 2001 From: Pete R Jemian Date: Mon, 26 Feb 2024 10:14:46 -0600 Subject: [PATCH 01/11] upload built documentation as artifact from github actions workflow (#275) * MNT #274 rename consistent with other projects * CI #274 add upload to workflow and re-arrange per murky project * WIP #274 Diagnostic * WIP #274 find the built docs * CI #274 re-enable upload & deploy steps * CI #274 put a name on the file --- .github/workflows/{pages.yml => docs.yml} | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) rename .github/workflows/{pages.yml => docs.yml} (77%) diff --git a/.github/workflows/pages.yml b/.github/workflows/docs.yml similarity index 77% rename from .github/workflows/pages.yml rename to .github/workflows/docs.yml index ba8a4bca..ba7e2940 100644 --- a/.github/workflows/pages.yml +++ b/.github/workflows/docs.yml @@ -27,8 +27,8 @@ defaults: jobs: pages: - - runs-on: ubuntu-20.04 + name: Publish documentation + runs-on: ubuntu-latest steps: @@ -45,13 +45,23 @@ jobs: - name: Set time zone run: echo "TZ=America/Chicago" >> "$GITHUB_ENV" - - id: deployment + - name: Sphinx build + id: deployment uses: sphinx-notes/pages@v3 with: documentation_path: ./docs/source publish: false requirements_path: ./docs/requirements.txt + - name: Diagnostic + run: ls -lAFgh ${{ steps.deployment.outputs.artifact }} + + - name: Upload Docs ZIP file as artifact + uses: actions/upload-artifact@v4 + with: + name: bluesky_training-docs + path: ${{ steps.deployment.outputs.artifact }} + - uses: peaceiris/actions-gh-pages@v3 if: ${{ github.event.inputs.deploy }} with: From d408d602292a642a7ddb3a19d0f3cb97fbee451f Mon Sep 17 00:00:00 2001 From: Pete R Jemian Date: Mon, 26 Feb 2024 10:37:47 -0600 Subject: [PATCH 02/11] DOC #136 restore coverage badge --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 38714dd1..cdc8e42e 100644 --- a/README.md +++ b/README.md @@ -9,9 +9,9 @@ beamlines to use the [Bluesky](https://blueskyproject.io) framework. - a [list of APS instrument](https://github.com/BCDA-APS/bluesky_training/wiki/) repositories -Unit Tests | License | GH tag +Unit Tests | License | GH tag | Code Coverage --- | --- | --- -[![Unit Tests](https://github.com/BCDA-APS/bluesky_training/workflows/Unit%20Tests/badge.svg)](https://github.com/BCDA-APS/bluesky_training/actions/workflows/unit_tests.yml) | [![license: ANL](https://img.shields.io/badge/license-ANL-brightgreen)](/LICENSE.txt) | [![tag](https://img.shields.io/github/tag/BCDA-APS/bluesky_training.svg)](https://github.com/BCDA-APS/bluesky_training/tags) +[![Unit Tests](https://github.com/BCDA-APS/bluesky_training/workflows/Unit%20Tests/badge.svg)](https://github.com/BCDA-APS/bluesky_training/actions/workflows/unit_tests.yml) | [![license: ANL](https://img.shields.io/badge/license-ANL-brightgreen)](/LICENSE.txt) | [![tag](https://img.shields.io/github/tag/BCDA-APS/bluesky_training.svg)](https://github.com/BCDA-APS/bluesky_training/tags) | [![Coverage Status](https://coveralls.io/repos/github/BCDA-APS/bluesky_training/badge.svg?branch=main)](https://coveralls.io/github/BCDA-APS/bluesky_training?branch=main)