(WIP) Show source repos in table and make them hideable #11
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Documentation Coverage" | |
on: | |
push: | |
branches: | |
- main # run for pushes to the main branch | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
minion: | |
name: 'Info: Minion Docs Coverage Report' | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Generate caching variables | |
id: cache-vars | |
run: | | |
echo -e "submodule_sha=$(./etc/ci/get_submodules_hash.sh)" >> "$GITHUB_OUTPUT" | |
echo -e "submodule_sha=$(./etc/ci/get_submodules_hash.sh)" | |
- name: Set up cache | |
uses: actions/cache@v3 | |
with: | |
path: | | |
~/.cargo/bin/ | |
~/.cargo/registry/index/ | |
~/.cargo/registry/cache/ | |
~/.cargo/git/db/ | |
target/ | |
solvers/minion/vendor | |
key: nightly-${{ runner.os }}-gitmodules-${{ steps.cache-vars.outputs.submodule_sha }}-cargo-${{ hashFiles('**/Cargo.lock') }} | |
restore-keys: nightly-${{ runner.os }}-gitmodules- | |
- name: Use nightly | |
run: rustup update nightly && rustup default nightly | |
- name: Coverage Report | |
working-directory: ./solvers/minion | |
run: | | |
echo '```' >> $GITHUB_STEP_SUMMARY | |
RUSTDOCFLAGS='-Z unstable-options --show-coverage' cargo doc | tee -a /dev/fd/2 >> $GITHUB_STEP_SUMMARY | |
echo '```' >> $GITHUB_STEP_SUMMARY | |
chuffed: | |
name: 'Info: Chuffed Docs Coverage Report' | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Generate caching variables | |
id: cache-vars | |
run: | | |
echo -e "submodule_sha=$(./etc/ci/get_submodules_hash.sh)" >> "$GITHUB_OUTPUT" | |
echo -e "submodule_sha=$(./etc/ci/get_submodules_hash.sh)" | |
- name: Set up cache | |
uses: actions/cache@v3 | |
with: | |
path: | | |
~/.cargo/bin/ | |
~/.cargo/registry/index/ | |
~/.cargo/registry/cache/ | |
~/.cargo/git/db/ | |
target/ | |
solvers/chuffed/vendor | |
key: nightly-${{ runner.os }}-gitmodules-${{ steps.cache-vars.outputs.submodule_sha }}-cargo-${{ hashFiles('**/Cargo.lock') }} | |
restore-keys: nightly-${{ runner.os }}-gitmodules- | |
- name: Use nightly | |
run: rustup update nightly && rustup default nightly | |
- name: Coverage Report | |
working-directory: ./solvers/chuffed | |
run: | | |
echo '```' >> $GITHUB_STEP_SUMMARY | |
RUSTDOCFLAGS='-Z unstable-options --show-coverage' cargo doc | tee -a /dev/fd/2 >> $GITHUB_STEP_SUMMARY | |
echo '```' >> $GITHUB_STEP_SUMMARY | |
conjure-oxide: | |
name: 'Info: Conjure Oxide Docs Coverage Report' | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Generate caching variables | |
id: cache-vars | |
run: | | |
echo -e "submodule_sha=$(./etc/ci/get_submodules_hash.sh)" >> "$GITHUB_OUTPUT" | |
echo -e "submodule_sha=$(./etc/ci/get_submodules_hash.sh)" | |
- name: Set up cache | |
uses: actions/cache@v3 | |
with: | |
path: | | |
~/.cargo/bin/ | |
~/.cargo/registry/index/ | |
~/.cargo/registry/cache/ | |
~/.cargo/git/db/ | |
target/ | |
solvers/chuffed/vendor | |
solvers/minion/vendor | |
key: nightly-${{ runner.os }}-gitmodules-${{ steps.cache-vars.outputs.submodule_sha }}-cargo-${{ hashFiles('**/Cargo.lock') }} | |
restore-keys: nightly-${{ runner.os }} | |
- name: Use nightly | |
run: rustup update nightly && rustup default nightly | |
- name: Coverage Report | |
run: | | |
echo '```' >> $GITHUB_STEP_SUMMARY | |
RUSTDOCFLAGS='-Z unstable-options --show-coverage' cargo doc | tee -a /dev/fd/2 >> $GITHUB_STEP_SUMMARY | |
echo '```' >> $GITHUB_STEP_SUMMARY |