From 625f9d65d9df0243a1f99c4503e9a550f4a4fdf8 Mon Sep 17 00:00:00 2001 From: "Pablo R. Mier" Date: Wed, 24 Apr 2024 20:58:35 +0200 Subject: [PATCH] Prepare github actions for test and docs --- .github/workflows/unit-tests.yml | 7 +++---- pyproject.toml | 5 +++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/unit-tests.yml b/.github/workflows/unit-tests.yml index df260af0..c0208d96 100644 --- a/.github/workflows/unit-tests.yml +++ b/.github/workflows/unit-tests.yml @@ -23,11 +23,10 @@ jobs: uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} - - name: Install dependencies + - name: Install Dependencies run: | - python -m pip install --upgrade pip - python -m pip install flake8 pytest - python -m pip install cvxpy scipy picos pyscipopt + pip install poetry + poetry install - name: Lint with flake8 run: | # stop the build if there are Python syntax errors or undefined names diff --git a/pyproject.toml b/pyproject.toml index 2118b41d..70329c16 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,8 +1,8 @@ [tool.poetry] name = "corneto" version = "1.0.0-alpha.0" -description = "CORNETO: A Unified Omics-Driven Framework for Network Inference" -authors = ["Pablo Rordriguez-Mier "] +description = "CORNETO: A Unified Framework for Omics-Driven Network Inference" +authors = ["Pablo Rodriguez-Mier "] classifiers = [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", @@ -66,6 +66,7 @@ myst-nb = "^0.17.2" sphinx-autodoc-typehints = "^1.21.8" sphinx-hoverxref = "^1.3.0" pytest = "^8.1.1" +flake8 = "^7.0.0" [tool.poetry.extras]