Skip to content

Commit f46b075

Browse files
committed
Update CI
1 parent 7cdd81e commit f46b075

File tree

3 files changed

+17
-27
lines changed

3 files changed

+17
-27
lines changed

.github/workflows/deploy-jupyter-book.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@ jobs:
1212
deploy-book:
1313
runs-on: ubuntu-latest
1414
steps:
15-
- uses: actions/checkout@v2
15+
- uses: actions/checkout@v3
1616

1717
# Install dependencies
18-
- name: Set up Python 3.7
19-
uses: actions/setup-python@v1
18+
- name: Set up Python 3.9
19+
uses: actions/setup-python@v4
2020
with:
21-
python-version: 3.7
21+
python-version: 3.9
2222

2323
- name: Install dependencies
2424
run: |
@@ -34,7 +34,7 @@ jobs:
3434
3535
# Push the book's HTML to github-pages
3636
- name: GitHub Pages action
37-
uses: peaceiris/actions-gh-pages@v3.6.1
37+
uses: peaceiris/actions-gh-pages@v3.9.1
3838
with:
3939
github_token: ${{ secrets.GITHUB_TOKEN }}
4040
publish_dir: ./fdm-jupyter-book/_build/html

.github/workflows/jupyter-notebooks.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -20,29 +20,29 @@ jobs:
2020
DEVITO_ARCH: "${{ matrix.compiler }}"
2121
DEVITO_LANGUAGE: ${{ matrix.language }}
2222
DEVITO_BACKEND: "core"
23-
PYTHON_VERSION: "3.7"
23+
PYTHON_VERSION: "3.9"
2424
RUN_CMD: ""
2525

2626
strategy:
2727
# Prevent all build to stop if a single one fails
2828
fail-fast: false
2929
matrix:
30-
name: [tutos-ubuntu-gcc-py37,
31-
tutos-osx-gcc-py37,
32-
tutos-osx-clang-py37]
30+
name: [tutos-ubuntu-gcc-py39,
31+
tutos-osx-gcc-py39,
32+
tutos-osx-clang-py39]
3333

3434
include:
35-
- name: tutos-ubuntu-gcc-py37
36-
os: ubuntu-16.04
37-
compiler: gcc-7
35+
- name: tutos-ubuntu-gcc-py39
36+
os: ubuntu-latest
37+
compiler: gcc-9
3838
language: "openmp"
3939

40-
- name: tutos-osx-gcc-py37
40+
- name: tutos-osx-gcc-py39
4141
os: macos-latest
4242
compiler: gcc-9
4343
language: "openmp"
4444

45-
- name: tutos-osx-clang-py37
45+
- name: tutos-osx-clang-py39
4646
os: macos-latest
4747
compiler: clang
4848
language: "C"
@@ -51,10 +51,10 @@ jobs:
5151
- name: Checkout devito_book
5252
uses: actions/checkout@v1
5353

54-
- name: Set up Python 3.7
54+
- name: Set up Python 3.9
5555
uses: actions/setup-python@v1
5656
with:
57-
python-version: 3.7
57+
python-version: 3.9
5858

5959
- name: Install compilers for OSX
6060
if: runner.os == 'macOS'

requirements.txt

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,8 @@
1-
pip>=9.0.1
2-
numpy>=1.14
3-
sympy<1.6
4-
scipy
5-
pytest>=3.6
61
pytest-runner
72
nbval
83
cached-property
94
py-cpuinfo
10-
cgen>=2020.1
11-
codepy>=2019.1
12-
click
13-
codecov
14-
pytest-cov
15-
devito
5+
devito<4.9
166
jupyter-book
177
matplotlib
188
vtk==8.1.2

0 commit comments

Comments
 (0)