-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
370d41f
commit f34cbe5
Showing
2 changed files
with
22 additions
and
8 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 |
---|---|---|
@@ -1,12 +1,12 @@ | ||
name: "Build and deploy Github pages" | ||
name: "CI and Doc" | ||
on: | ||
push: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
|
||
build: | ||
test: | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
|
@@ -18,21 +18,34 @@ jobs: | |
uses: actions/[email protected] | ||
|
||
- name: Set up Python ${{ matrix.python-version }} 🔧 | ||
uses: actions/setup-python@v1 | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
|
||
- name: Install dependencies 🔧 | ||
run: | | ||
python -m pip install --upgrade pip | ||
pip install -U xarray plotly matplotlib numpy xlrd==1.2.0 | ||
pip install -U sphinx sphinx-gallery kaleido sphinx_bootstrap_theme numpydoc sphinxcontrib-bibtex | ||
pip install -e . | ||
deploy: | ||
needs: build | ||
needs: test | ||
runs-on: ubuntu-latest | ||
steps: | ||
steps: | ||
- name: Checkout 🛎️ | ||
uses: actions/[email protected] | ||
|
||
- name: Set up Python 🔧 | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: '3.7' | ||
|
||
- name: Install dependencies 🔧 | ||
run: | | ||
python -m pip install --upgrade pip | ||
pip install -U sphinx sphinx-gallery kaleido sphinx_bootstrap_theme numpydoc | ||
pip install -e . | ||
- name: Build the Doc 🔧 | ||
run: | | ||
cd docs | ||
|
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 |
---|---|---|
@@ -1,2 +1,3 @@ | ||
numpy | ||
xarray | ||
xarray | ||
plotly | ||
matplotlib |