diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000000000000000000000000000000000000..b068635e3ea0a58a497fc79fe7475decd85be0a0 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,12 @@ +image: python:3.12 + +stages: + - test + +pytest: + stage: test + before_script: + - pip install --upgrade pip + - pip install -e . + script: + - pytest \ No newline at end of file diff --git a/pyproject.toml b/pyproject.toml index 5112eeb7c4fcea8bfc4f024e5c028cc5a5ad65db..88b0b1e80ea1be09cde712064b15b4d0c67d0d13 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -5,12 +5,28 @@ build-backend = "setuptools.build_meta" [project] name = "pyTurbulence" version = "0.1.0" -description = "Generator of solenoidal velocity and pressure fieds for turbulent flows" +description = "Generator of solenoidal velocity and pressure fields for turbulent flows" authors = [ {name = "Amaury", email = "amaury.bilocq@uliege.be"} ] license = {text = "MIT"} readme = "README.md" requires-python = ">=3.6" + dependencies = [ -] \ No newline at end of file + "numpy>=1.21", # Required for numerical computations + "numba>=0.56", # For JIT optimization + "pytest>=7.0" # For testing +] + +[project.optional-dependencies] +dev = [ + "pytest-cov" # Adds code coverage support for pytest +] + +[tool.pytest.ini_options] +addopts = "--maxfail=0 --disable-warnings" +testpaths = ["tests"] + +[tool.setuptools] +packages = ["pyTurbulence"] \ No newline at end of file