Skip to content

Commit

Permalink
Change workflow name
Browse files Browse the repository at this point in the history
  • Loading branch information
EtienneCmb committed May 7, 2021
1 parent 370d41f commit f34cbe5
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 8 deletions.
25 changes: 19 additions & 6 deletions .github/workflows/main.yml → .github/workflows/ci.yml
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:
Expand All @@ -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
Expand Down
5 changes: 3 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
numpy
xarray
xarray
plotly
matplotlib

0 comments on commit f34cbe5

Please sign in to comment.