From 23ed4a7a5c297894bc4309a77ec31b8a8a1587dd Mon Sep 17 00:00:00 2001 From: Caibin Sheng Date: Thu, 23 May 2024 11:04:27 +0200 Subject: [PATCH] fix: update the action file --- .github/workflows/python-conda-build.yaml | 8 ++++---- scar/main/__version__.py | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/python-conda-build.yaml b/.github/workflows/python-conda-build.yaml index 052dc31..39c20e3 100644 --- a/.github/workflows/python-conda-build.yaml +++ b/.github/workflows/python-conda-build.yaml @@ -9,17 +9,17 @@ jobs: max-parallel: 5 steps: - uses: actions/checkout@v2 - - name: Set up Python 3.8 + - name: Set up Python 3.10 uses: actions/setup-python@v2 with: - python-version: 3.8 + python-version: 3.10 - name: Add conda to system path run: | # $CONDA is an environment variable pointing to the root of the miniconda directory echo $CONDA/bin >> $GITHUB_PATH - name: Install dependencies run: | - conda env create -f scar-cpu.yml + mamba env create -f scar-cpu.yml - name: Run binary run: | export PATH="$GITHUB_PATH:$PATH" @@ -29,7 +29,7 @@ jobs: run: | export PATH="$GITHUB_PATH:$PATH" source activate scar - conda install pylint + mamba install pylint pylint scar --fail-under 8.5 --disable=R,C --generated-members=torch.* - name: Run unit tests run: | diff --git a/scar/main/__version__.py b/scar/main/__version__.py index 857fe6d..e266548 100644 --- a/scar/main/__version__.py +++ b/scar/main/__version__.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- """version here""" -__version__ = "0.5.2" +__version__ = "0.5.3" _author = "Caibin Sheng" _copyright = "2022, Novartis Institute for BioMedical Research"