-
Notifications
You must be signed in to change notification settings - Fork 94
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding Requirements and QA to Docs (#2076)
- Loading branch information
1 parent
9afac86
commit 66cac55
Showing
38 changed files
with
2,193 additions
and
352 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -30,14 +30,30 @@ jobs: | |
run: sudo apt-get -y install pandoc | ||
- name: Setup Graphviz | ||
uses: ts-graphviz/[email protected] | ||
- name: Make HTML Docs | ||
- name: Make html/pdf Docs | ||
continue-on-error: true | ||
run: | | ||
sudo apt-get install texlive-xetex | ||
sudo apt-get install texlive-latex-base | ||
sudo apt-get install texlive-fonts-recommended | ||
sudo apt-get install texlive-latex-extra | ||
sudo apt-get install texlive-full | ||
pip install -e .[memprof,mpi,test,docs] | ||
python -c "from armi.bookkeeping.report.reportingUtils import getSystemInfo;print(getSystemInfo())" > system_info.log | ||
date > python_details.log | ||
python --version >> python_details.log | ||
pip freeze >> python_details.log | ||
pytest --junit-xml=test_results.xml -v -n 4 armi > pytest_verbose.log | ||
cd doc | ||
git submodule init | ||
git submodule update | ||
echo "make html:" | ||
make html | ||
make simplepdf | ||
echo "make latex:" | ||
make latex | ||
cd _build/latex/ | ||
echo "latexmk -pdf -f -interaction=nonstopmode ARMI.tex:" | ||
latexmk -pdf -f -interaction=nonstopmode ARMI.tex | ||
- name: Deploy | ||
if: github.ref == 'refs/heads/main' | ||
uses: JamesIves/[email protected] | ||
|
@@ -58,5 +74,5 @@ jobs: | |
uses: actions/upload-artifact@v4 | ||
with: | ||
name: pdf-docs | ||
path: doc/_build/simplepdf/ARMI.pdf | ||
path: doc/_build/latex/ARMI.pdf | ||
retention-days: 5 |
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
{% if sequence is not none %}*Required Testing Sequence:* {{sequence}}{%endif%} | ||
|
||
{% if branching is not none %}*Logic Branches:* {{branching}}{%endif%} | ||
|
||
{% if required_inputs is not none %}*Necessary Inputs for Simulation:* {{required_inputs}}{%endif%} | ||
|
||
{% if parameter_ranges is not none %}*Parameter Ranges:* {{parameter_ranges}}{%endif%} | ||
|
||
{% if expected_result is not none %}*Expected Result:* {{expected_result}}{%endif%} | ||
|
||
*Acceptance Criteria:* {{acceptance_criteria}} | ||
|
||
{% if record_environment is not none %}*Runtime Environment:* {{record_environment}}{%endif%} | ||
|
||
{% if record_models is not none %}*Simulation Models Used:* {{record_models}}{%endif%} | ||
|
||
{% if record_reference_problem is not none %}*Reference Problem:* {{record_reference_problem}}{%endif%} | ||
|
||
{% if record_inputs is not none %}*Necessary Inputs for Record:* {{record_inputs}}{%endif%} | ||
|
||
{% if record_actions is not none %}*Recort Actions:* {{record_actions}}{%endif%} | ||
|
||
|
||
{{content}} |
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
Oops, something went wrong.