Skip to content

Commit c2608bf

Browse files
authored
Merge pull request #88 from uriahf/observable_report
Observable report
2 parents eb8c38b + cf95fbc commit c2608bf

File tree

4 files changed

+112
-259
lines changed

4 files changed

+112
-259
lines changed

.github/workflows/python-package.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ jobs:
1919
python-version: ["3.9", "3.10"]
2020
permissions:
2121
id-token: write
22+
contents: write
2223

2324
steps:
2425
- uses: actions/checkout@v4
@@ -39,7 +40,15 @@ jobs:
3940

4041
- name: Show package version
4142
run: grep -r "version" pyproject.toml || grep -r "__version__" rtichoke/ || python -c "import rtichoke; print(rtichoke.__version__)"
42-
43+
44+
- name: Set up Quarto
45+
uses: quarto-dev/quarto-actions/setup@v2
46+
47+
- name: Set Git identity for Quarto publishing
48+
run: |
49+
git config --global user.name "github-actions[bot]"
50+
git config --global user.email "github-actions[bot]@users.noreply.github.com"
51+
4352
- name: Render and Publish
4453
working-directory: docs
4554
run: uv run quarto publish gh-pages --no-browser --token "${{ secrets.GITHUB_TOKEN }}"

docs/render_summary.qmd

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -12,28 +12,28 @@ This is a summary report generated with Quarto.
1212

1313
```{python}
1414
15-
import pickle
15+
# import pickle
1616
1717
18-
with open(r'C:\Users\I\Documents\GitHub\rtichoke_python\probs_dict.pkl', 'rb') as file:
19-
probs_dict = pickle.load(file)
18+
# with open(r'C:\Users\I\Documents\GitHub\rtichoke_python\probs_dict.pkl', 'rb') as file:
19+
# probs_dict = pickle.load(file)
2020
21-
with open(r'C:\Users\I\Documents\GitHub\rtichoke_python\reals_dict.pkl', 'rb') as file:
22-
reals_dict = pickle.load(file)
21+
# with open(r'C:\Users\I\Documents\GitHub\rtichoke_python\reals_dict.pkl', 'rb') as file:
22+
# reals_dict = pickle.load(file)
2323
24-
with open(r'C:\Users\I\Documents\GitHub\rtichoke_python\times_dict.pkl', 'rb') as file:
25-
times_dict = pickle.load(file)
24+
# with open(r'C:\Users\I\Documents\GitHub\rtichoke_python\times_dict.pkl', 'rb') as file:
25+
# times_dict = pickle.load(file)
2626
2727
from rtichoke.summary_report.summary_report import *
2828
29-
create_data_for_summary_report()
29+
# create_data_for_summary_report()
3030
3131
```
3232

3333
```{python}
3434
from rtichoke.summary_report.summary_report import *
3535
36-
render_summary_report( )
36+
# render_summary_report( )
3737
```
3838

3939

0 commit comments

Comments
 (0)