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
6 changes: 4 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,14 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Conda config
run: echo -e "channels:\n - conda-forge\n" > .condarc
- uses: conda-incubator/setup-miniconda@v3
with:
auto-update-conda: true
python-version: "3.12"
miniforge-version: latest
condarc-file: .condarc
environment-file: documentation/environment.yml
auto-activate-base: false
- name: Install Jupyterbook
shell: bash -l {0}
run: |
Expand Down
60 changes: 35 additions & 25 deletions .github/workflows/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,15 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Conda config
run: echo -e "channels:\n - conda-forge\n" > .condarc
- name: Setup Mambaforge
uses: conda-incubator/setup-miniconda@v3
with:
auto-update-conda: true
python-version: "3.12"
miniforge-version: latest
condarc-file: .condarc
environment-file: binder/environment.yml
auto-activate-base: false
- name: Pip check
shell: bash -l {0}
run: |
Expand All @@ -40,12 +42,14 @@ jobs:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Conda config
run: echo -e "channels:\n - conda-forge\n" > .condarc
- uses: conda-incubator/setup-miniconda@v3
with:
auto-update-conda: true
python-version: "3.12"
miniforge-version: latest
condarc-file: .condarc
environment-file: binder/environment.yml
auto-activate-base: false
- name: Installation and setup
shell: bash -l {0}
run: |
Expand Down Expand Up @@ -74,13 +78,15 @@ jobs:
- uses: actions/checkout@v4
- name: Setup environment
shell: bash -l {0}
run: tail --lines=+4 example_workflows/quantum_espresso/environment.yml >> binder/environment.yml
run: |
echo -e "channels:\n - conda-forge\n" > .condarc
tail --lines=+4 example_workflows/quantum_espresso/environment.yml >> binder/environment.yml
- uses: conda-incubator/setup-miniconda@v3
with:
auto-update-conda: true
python-version: "3.12"
miniforge-version: latest
condarc-file: .condarc
environment-file: binder/environment.yml
auto-activate-base: false
- name: Installation and setup
shell: bash -l {0}
run: |
Expand All @@ -103,12 +109,14 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Conda config
run: echo -e "channels:\n - conda-forge\n" > .condarc
- uses: conda-incubator/setup-miniconda@v3
with:
auto-update-conda: true
python-version: "3.12"
miniforge-version: latest
condarc-file: .condarc
environment-file: binder/environment.yml
auto-activate-base: false
- name: Installation and setup
shell: bash -l {0}
run: |
Expand All @@ -127,19 +135,21 @@ jobs:
documentation:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: conda-incubator/setup-miniconda@v3
with:
auto-update-conda: true
python-version: "3.12"
environment-file: documentation/environment.yml
auto-activate-base: false
- name: Install Jupyterbook
shell: bash -l {0}
run: |
cp documentation/_config.yml .
cp documentation/_toc.yml .
cp documentation/*.md .
jupyter-book build . --path-output public
mv public/_build/html public_html
touch public_html/.nojekyll
- uses: actions/checkout@v4
- name: Conda config
run: echo -e "channels:\n - conda-forge\n" > .condarc
- uses: conda-incubator/setup-miniconda@v3
with:
python-version: "3.12"
miniforge-version: latest
condarc-file: .condarc
environment-file: documentation/environment.yml
- name: Install Jupyterbook
shell: bash -l {0}
run: |
cp documentation/_config.yml .
cp documentation/_toc.yml .
cp documentation/*.md .
jupyter-book build . --path-output public
mv public/_build/html public_html
touch public_html/.nojekyll
6 changes: 4 additions & 2 deletions .github/workflows/pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,14 @@ jobs:
id-token: write
steps:
- uses: actions/checkout@v4
- name: Conda config
run: echo -e "channels:\n - conda-forge\n" > .condarc
- uses: conda-incubator/setup-miniconda@v3
with:
auto-update-conda: true
python-version: "3.12"
miniforge-version: latest
condarc-file: .condarc
environment-file: binder/environment.yml
auto-activate-base: false
- name: Build
shell: bash -l {0}
run: |
Expand Down
Loading