Skip to content

Commit

Permalink
Merge branch 'master' into update-faq-1
Browse files Browse the repository at this point in the history
  • Loading branch information
FabioLuporini authored Oct 11, 2023
2 parents a577484 + b575db3 commit 99b9bce
Show file tree
Hide file tree
Showing 100 changed files with 2,431 additions and 2,723 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/asv.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ jobs:
- name: Run benchmarks
run: |
asv run -v --strict --show-stderr --config benchmarks/regression/asv.conf.json --cpu-affinity 0-7 --machine i7-6700K
asv run -v --show-stderr --config benchmarks/regression/asv.conf.json --cpu-affinity 0-7 --machine i7-6700K
- name: Checkout asv-results branch
uses: actions/checkout@v3
Expand Down
37 changes: 0 additions & 37 deletions .github/workflows/documentation.yml

This file was deleted.

1 change: 1 addition & 0 deletions .github/workflows/examples-mpi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ jobs:
run: |
pip install --upgrade pip
pip install -e .[extras,mpi,tests]
python3 scripts/clear_devito_cache.py
- name: Test mpi notebooks
continue-on-error: true
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@ jobs:
pip install -e .[tests,extras]
- name: Tests in examples
run: py.test --cov --cov-config=.coveragerc --cov-report=xml examples/
run: |
py.test --cov --cov-config=.coveragerc --cov-report=xml examples/
- name: Seismic acoustic examples
run: |
Expand Down
11 changes: 9 additions & 2 deletions .github/workflows/pytest-core-mpi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,17 @@ jobs:

test-mpi-docker:
name: pytest-mpi
runs-on: ubuntu-latest
runs-on: ${{ matrix.os }}
strategy:
matrix:
arch: [gcc, icx]
name: [gcc, icx]
include:
- name: gcc
arch: gcc
os: ubuntu-latest
- name: icx
arch: icx
os: ubuntu-latest

steps:
- name: Checkout devito
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/pytest-core-nompi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ jobs:

- name: pytest-docker-py39-icx-omp
python-version: '3.9'
os: ubuntu-22.04
os: ubuntu-latest
arch: "icx"
language: "openmp"
sympy: "1.12"
Expand Down Expand Up @@ -160,6 +160,10 @@ jobs:
pip install -e .[tests]
pip install sympy==${{matrix.sympy}}
- name: Check configuration
run: |
${{ env.RUN_CMD }} python3 -c "from devito import configuration; print(''.join(['%s: %s \n' % (k, v) for (k, v) in configuration.items()]))"
- name: Test with pytest
run: |
${{ env.RUN_CMD }} ${{ matrix.arch }} --version
Expand Down
27 changes: 27 additions & 0 deletions .github/workflows/triggers.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Master triggers

on:
push:
branches:
- master # Push events on master branch

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- name: Trigger doc build
uses: peter-evans/repository-dispatch@v2
with:
token: ${{ secrets.DEPLOY_DOC_PAT }}
repository: devitocodes/devitoproject.org
event-type: deploy-docs

- name: Trigger pro submodule update
uses: peter-evans/repository-dispatch@v2
with:
token: ${{ secrets.PRO_SUBMODULE }}
repository: devitocodespro/devitopro
event-type: update-submodule
Loading

0 comments on commit 99b9bce

Please sign in to comment.