This repository was archived by the owner on Nov 13, 2023. It is now read-only.
File tree 5 files changed +56
-104
lines changed
5 files changed +56
-104
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ name : ci
2
+
3
+ on :
4
+ push :
5
+ branches : [ master ]
6
+ pull_request :
7
+ branches : [ master ]
8
+
9
+ jobs :
10
+ lint :
11
+ runs-on : ubuntu-latest
12
+ steps :
13
+ - uses : actions/setup-python@v2
14
+ with :
15
+ python-version : " 3.x"
16
+ - uses : actions/checkout@v2
17
+ - name : Lint with flake8
18
+ run : |
19
+ pip install flake8
20
+ flake8 .
21
+ - name : Lint with black
22
+ run : |
23
+ pip install black
24
+ black --check .
25
+
26
+ build :
27
+ runs-on : ubuntu-latest
28
+ strategy :
29
+ fail-fast : false
30
+ matrix :
31
+ python-version : [3.6, 3.7, 3.8, 3.9]
32
+ steps :
33
+ - uses : actions/checkout@v2
34
+ - name : Set up Python ${{ matrix.python-version }}
35
+ uses : actions/setup-python@v2
36
+ with :
37
+ python-version : ${{ matrix.python-version }}
38
+ - name : Install CGAL 5
39
+ run : |
40
+ sudo apt install -y libcgal-dev
41
+ - name : Install other dependencies
42
+ run : |
43
+ sudo apt install -y libopenmpi3 libopenmpi-dev openmpi-bin
44
+ sudo apt install -y libhdf5-dev
45
+ - name : Test with tox
46
+ run : |
47
+ pip install tox
48
+ tox
49
+ - uses : codecov/codecov-action@v1
Original file line number Diff line number Diff line change @@ -57,10 +57,9 @@ Table of contents
57
57
Installation
58
58
============
59
59
60
- For installation, SeismicMesh needs [ CGAL] ( https://www.cgal.org/ ) and
61
- [ pybind11] ( https://github.com/pybind/pybind11 ) :
60
+ For installation, SeismicMesh needs [ CGAL] ( https://www.cgal.org/ ) :
62
61
63
- sudo apt install libcgal-dev python3-pybind11
62
+ sudo apt install libcgal-dev
64
63
65
64
After that, SeismicMesh can be installed from the Python Package Index
66
65
([ pypi] ( https://pypi.org/project/SeismicMesh/ ) ), so with:
Original file line number Diff line number Diff line change @@ -25,7 +25,6 @@ classifiers =
25
25
Topic :: Scientific/Engineering :: Visualization
26
26
[options]
27
27
packages = find:
28
- setup_requires = pybind11 >= 2.6
29
28
install_requires =
30
29
numpy
31
30
segyio
@@ -34,8 +33,7 @@ install_requires =
34
33
h5py
35
34
matplotlib
36
35
mpi4py
37
- pybind11 >= 2.6
38
- pyamg == 4.0.0
36
+ pyamg
39
37
pytest_codeblocks
40
38
python_requires = >=3.0
41
39
Original file line number Diff line number Diff line change 1
1
[tox]
2
- envlist = py36, py37, py38, py39
2
+ envlist = py3
3
3
isolated_build = True
4
4
5
5
[mpi]
@@ -9,11 +9,11 @@ mpiexec = {env:MPIEXEC:mpiexec}
9
9
setenv =
10
10
MPLBACKEND = agg
11
11
deps =
12
- pytest-codeblocks
13
- requests
12
+ mpi4py
14
13
pytest
14
+ pytest-codeblocks
15
15
pytest-cov
16
- mpi4py
16
+ requests
17
17
whitelist_externals = {[mpi]mpiexec}
18
18
commands =
19
19
{[mpi]mpiexec} -n 2 -mca btl ^openib pytest --cov {envsitepackagesdir}/SeismicMesh --cov-report xml --cov-report term --ignore =pybind11 -m " parallel2"
You can’t perform that action at this time.
0 commit comments