From 62b6bd51d8691e2b25478e7a5dc52fc9ba20a52f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ter=C3=A9zia=20Slanin=C3=A1kov=C3=A1?= <445526@mail.muni.cz> Date: Mon, 18 Mar 2024 11:21:42 +0100 Subject: [PATCH] Ignoring black,isort for now, added pytest install --- .github/workflows/ci.yml | 42 +--------------------------------------- 1 file changed, 1 insertion(+), 41 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6dc22fe..447df0a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -5,8 +5,6 @@ on: # Sequence of patterns matched against refs/heads branches: # Push events on main and dev branch - - main - - dev - dynamic-lmi # Sequence of patterns matched against refs/tags tags: '*' @@ -40,44 +38,6 @@ jobs: shellcheck scripts/core/*.sh shell: bash - black: - runs-on: ubuntu-latest - steps: - - name: Checkout code - uses: actions/checkout@v2 - - - name: Check Python version - run: python --version - - - name: Install Black - run: | - pip install black==23.7.0 - shell: bash - - - name: Check code formatting with Black - run: | - black -v --check . - shell: bash - - flake8: - runs-on: ubuntu-latest - steps: - - name: Checkout code - uses: actions/checkout@v2 - - - name: Check Python version - run: python --version - - - name: Install Flake8 - run: | - pip install flake8==6.1.0 - shell: bash - - - name: Check code with Flake8 - run: | - flake8 -vv search/**/*.py - shell: bash - test: name: ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }} runs-on: ${{ matrix.os }} @@ -111,7 +71,7 @@ jobs: run: | conda create -n env python=3.8 conda activate env - conda install matplotlib pandas scikit-learn + conda install matplotlib pandas scikit-learn pytest pip install h5py setuptools tqdm faiss-cpu pip install torch --index-url https://download.pytorch.org/whl/cpu - name: Run tests