From c731f16a6ec275bff27a340b2fbaf6559f67be2e Mon Sep 17 00:00:00 2001 From: tina <15641075+tinavisnovska@users.noreply.github.com> Date: Tue, 27 Feb 2024 14:44:38 +0100 Subject: [PATCH] Upgraded pandas back to 2.2.0, relaxed python requirements to >= 3.9 with a python-version matrix. --- .github/workflows/main.yml | 23 ++++++++++++++++++++--- README.md | 4 ++-- requirements.txt | 2 +- 3 files changed, 23 insertions(+), 6 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index ee225d4..1fab154 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -13,15 +13,32 @@ jobs: test: name: Run unit tests runs-on: ubuntu-latest + + strategy: + matrix: + python-version: ["3.9", "3.10", "3.11", "3.12"] + steps: - name: Check out the repo uses: actions/checkout@v4 - - name: Unit testing - uses: fylein/python-pytest-github-action@v2 + name: Set up Python ${{ matrix.python-version }} + uses: actions/setup-python@v4 with: - args: pip3 install -r requirements.txt && pytest + python-version: ${{ matrix.python-version }} + - + name: Install dependencies + run: pip3 install pytest pytest-md pytest-emoji && pip3 install -r requirements.txt + - + name: Unit testing + uses: pavelzw/pytest-action@v2 + with: + emoji: false + verbose: false + job-summary: true + + build: name: Build Image runs-on: ubuntu-latest diff --git a/README.md b/README.md index fb16fdd..daf698b 100644 --- a/README.md +++ b/README.md @@ -15,8 +15,8 @@ Running LocalApp analysis requires a samplesheet in a specific format consistent ## Dependencies -- python3>=3.11.4, -- pandas>=2.2.0 +- python3>=3.9, +- pandas==2.2.0 ## Description of Input Parameters diff --git a/requirements.txt b/requirements.txt index 416be5a..105ee69 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1 +1 @@ -pandas==1.3.5 +pandas==2.2.0