This repository was archived by the owner on Feb 21, 2023. It is now read-only.
File tree 3 files changed +48
-3
lines changed
3 files changed +48
-3
lines changed Original file line number Diff line number Diff line change
1
+ # Testing for 1st-order acoustic wave equation
2
+
3
+ name : CI-1st-Order
4
+
5
+ # Trigger on push or pull request
6
+ on :
7
+ push :
8
+ branches :
9
+ - master
10
+ pull_request :
11
+ branches :
12
+ - master
13
+
14
+ jobs :
15
+ build :
16
+ runs-on : ${{ matrix.os }}
17
+ strategy :
18
+ # Stop all builds in the event of a single failure
19
+ fail-fast : true
20
+
21
+ matrix :
22
+ python-version : [3.8, 3.7, 3.6]
23
+ os : [ubuntu-latest, macos-latest]
24
+
25
+ steps :
26
+ - uses : actions/checkout@v2
27
+ - name : Set up Python ${{matrix.python-version}}
28
+ uses : actions/setup-python@v1
29
+ with :
30
+ python-version : ${{matrix.python-version}}
31
+ - name : Install dependencies
32
+ run : |
33
+ python -m pip install --upgrade pip
34
+ pip install -r requirements_1st_order.txt
35
+ - name : Test using Pytest
36
+ run : |
37
+ python -m pytest tests/test_gathers_1st_order.py
Original file line number Diff line number Diff line change 15
15
build :
16
16
runs-on : ${{ matrix.os }}
17
17
strategy :
18
- # Prevent all builds stopping in the event of a single failure
19
- fail-fast : false
18
+ # Stop all builds in the event of a single failure
19
+ fail-fast : true
20
20
21
21
matrix :
22
22
python-version : [3.8, 3.7, 3.6]
34
34
pip install -r requirements.txt
35
35
- name : Test using Pytest
36
36
run : |
37
- python -m pytest tests/
37
+ python -m pytest --ignore=tests/test_gathers_1st_order.py tests/
Original file line number Diff line number Diff line change
1
+ # Requirements for 1st-order acoustic examples and tests
2
+ # Specific devito branch with bugfix required currently
3
+ git+git://github.com/devitocodes/devito@small_custom_coefficients_fix
4
+ pandas
5
+ matplotlib
6
+ vtk
7
+ pyvista
8
+ scikit-image
You can’t perform that action at this time.
0 commit comments