Skip to content

Rules to convert logical expressions to CNF (Issue 152) #399

Rules to convert logical expressions to CNF (Issue 152)

Rules to convert logical expressions to CNF (Issue 152) #399

Workflow file for this run

name: "Documentation Coverage"
on:
push:
branches:
- main # run for pushes to the main branch
paths:
- Cargo.*
- conjure-oxide/**
- solvers/**
- crates/**
- .github/actions/doc-coverage.yml
pull_request:
paths:
- Cargo.*
- conjure-oxide/**
- solvers/**
- crates/**
- .github/actions/doc-coverage.yml
workflow_dispatch:
env:
rust_release: nightly
jobs:
minion:
name: 'Info: Minion Docs Coverage Report'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/cache@v3
with:
path: |
~/.cargo/bin
~/.cargo/registry/index
~/.cargo/registry/cache
~/.cargo/git/db
target
solvers/minion/vendor
solvers/chuffed/vendor
key: ${{ runner.os }}-${{ env.rust_release }}-${{ github.event.repository.updated_at }}
restore-keys: ${{ runner.os }}-${{ env.rust_release }}
- name: Use ${{ env.rust_release }}
run: rustup update ${{ env.rust_release }} && rustup default ${{ env.rust_release }}
- name: Coverage Report
working-directory: ./solvers/minion
run: |
echo '```' >> $GITHUB_STEP_SUMMARY
RUSTDOCFLAGS='-Z unstable-options --show-coverage' cargo doc --no-deps | 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
- uses: actions/cache@v3
with:
path: |
~/.cargo/bin
~/.cargo/registry/index
~/.cargo/registry/cache
~/.cargo/git/db
target
solvers/minion/vendor
solvers/chuffed/vendor
key: ${{ runner.os }}-${{ env.rust_release }}-${{ github.event.repository.updated_at }}
restore-keys: ${{ runner.os }}-${{ env.rust_release }}
- name: Use ${{ env.rust_release }}
run: rustup update ${{ env.rust_release }} && rustup default ${{ env.rust_release }}
- name: Coverage Report
working-directory: ./solvers/chuffed
run: |
echo '```' >> $GITHUB_STEP_SUMMARY
RUSTDOCFLAGS='-Z unstable-options --show-coverage' cargo doc --no-deps | 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
- uses: actions/cache@v3
with:
path: |
~/.cargo/bin
~/.cargo/registry/index
~/.cargo/registry/cache
~/.cargo/git/db
target
solvers/minion/vendor
solvers/chuffed/vendor
key: ${{ runner.os }}-${{ env.rust_release }}-${{ github.event.repository.updated_at }}
restore-keys: ${{ runner.os }}-${{ env.rust_release }}
- name: Use ${{ env.rust_release }}
run: rustup update ${{ env.rust_release }} && rustup default ${{ env.rust_release }}
- name: Coverage Report
working-directory: ./conjure_oxide
run: |
echo '```' >> $GITHUB_STEP_SUMMARY
RUSTDOCFLAGS='-Z unstable-options --show-coverage' cargo doc --no-deps | tee -a /dev/fd/2 >> $GITHUB_STEP_SUMMARY
echo '```' >> $GITHUB_STEP_SUMMARY