Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
45 changes: 45 additions & 0 deletions .github/workflows/test_website.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
name: test website

on:
workflow_dispatch:
pull_request:
branches:
- main
types: [opened, edited, synchronize, reopened]


jobs:
test:
runs-on: ubuntu-latest
defaults:
run:
shell: bash -l {0}
steps:
- name: Checkout
uses: actions/checkout@v2

- name: Cache conda
uses: actions/cache@v2
with:
path: ~/conda_pkgs_dir
key: ${{ runner.os }}-conda-${{hashFiles('environment.yml') }}

- uses: conda-incubator/setup-miniconda@v2
name: Install dependencies
with:
environment-file: environment.yml
auto-activate-base: false
miniforge-version: latest
miniforge-variant: Mambaforge
use-mamba: true

- name: Describe environment
run: |
pwd
ls
conda list

- name: Build Sphinx documentation
run: |
make html

2 changes: 1 addition & 1 deletion cookbook.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ glob: True
caption: Analysis and System Inspection
---
notebooks/cookbook/Analyzing Energy Contributions
notebooks/cookbook/Querying Charges and Other Parameters
notebooks/cookbook/Querying and Modifying Charges and Other Parameters.ipynb
:::


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
},
{
"cell_type": "code",
"execution_count": 2,
"execution_count": 1,
"id": "9323aaae",
"metadata": {},
"outputs": [],
Expand All @@ -35,7 +35,7 @@
},
{
"cell_type": "code",
"execution_count": 3,
"execution_count": 2,
"id": "1734190f",
"metadata": {},
"outputs": [],
Expand All @@ -53,7 +53,7 @@
},
{
"cell_type": "code",
"execution_count": 4,
"execution_count": 3,
"id": "bf38fc9a",
"metadata": {},
"outputs": [],
Expand All @@ -76,7 +76,7 @@
},
{
"cell_type": "code",
"execution_count": 6,
"execution_count": 4,
"id": "933928f9",
"metadata": {},
"outputs": [
Expand Down Expand Up @@ -119,7 +119,7 @@
},
{
"cell_type": "code",
"execution_count": 8,
"execution_count": 5,
"id": "086c7629",
"metadata": {},
"outputs": [],
Expand All @@ -140,7 +140,7 @@
},
{
"cell_type": "code",
"execution_count": 9,
"execution_count": 6,
"id": "68498ff5",
"metadata": {},
"outputs": [
Expand Down