Commit 1068567fbcc by Pierre Augier

Try CI with Gitlab

parent 7a86a4c30a1
Pipeline #3176 passed with stage
in 16 minutes 56 seconds
variables:
CODECOV_TOKEN: b1c3afe7-4ef3-4c69-9656-78beec52ec16
step_without_pythran:
image: fluiddyn/python3-stable
script:
- pip install -U tox --user
- tox -e py36,codecov
step_pythran_then_cython:
image: fluiddyn/python3-stable
script:
- pip install -U tox --user
- tox -e py36-pythran,py36-cython,codecov
step_pythran_cython:
image: fluiddyn/python3-stable
script:
- pip install -U tox --user
- tox -e py36-pythran-cython
......@@ -13,12 +13,6 @@ def rk2_step0(state_spect_n12, state_spect, tendencies_n, diss2, dt):
arguments_blocks = {
"rk2_step0": [
"state_spect_n12",
"state_spect",
"tendencies_n",
"diss2",
"dt",
],
"rk2_step0": ["state_spect_n12", "state_spect", "tendencies_n", "diss2", "dt"]
}
__transonic__ = ("0.3.0.post0",)
......@@ -15,7 +15,5 @@ def block0(a, b, n):
return result
arguments_blocks = {
"block0": ["a", "b", "n"],
}
arguments_blocks = {"block0": ["a", "b", "n"]}
__transonic__ = ("0.4.2",)
......@@ -40,8 +40,5 @@ def block1(a, b, n):
return result
arguments_blocks = {
"block0": ["a", "b", "n"],
"block1": ["a", "b", "n"],
}
arguments_blocks = {"block0": ["a", "b", "n"], "block1": ["a", "b", "n"]}
__transonic__ = ("0.4.2",)
......@@ -13,7 +13,7 @@ classifiers =
[options]
python_requires = >= 3.6
install_requires =
astunparse
astunparse >=1.6.3
gast
beniget
# black # avoid this dependency for now (see https://github.com/ambv/black/issues/552)
......
......@@ -29,7 +29,8 @@ deps =
pythran: git+https://github.com/serge-sans-paille/pythran#egg=pythran
cython: cython
whitelist_externals = make
whitelist_externals =
make
commands =
make tests_coverage
......
......@@ -19,6 +19,7 @@ header_suffixes = {"pythran": ".pythran", "cython": ".pxd"}
@pytest.mark.skipif(not path_data_tests.exists(), reason="no data tests")
@pytest.mark.skipif(nb_proc > 1, reason="No commandline in MPI")
def test_create_pythran_files():
if path_dir_out.exists():
rmtree(path_dir_out)
......
......@@ -61,7 +61,7 @@ import gast as ast
from transonic.config import backend_default
try:
# since black is still beta (in 03/2019), we can not impose a version :-(
# since black is still beta (in 03/2019), we cannot impose a version :-(
import black
except ImportError:
import autopep8
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment