diff --git a/.github/workflows/unit-tests.yml b/.github/workflows/unit-tests.yml index acc57ec26c3..a72865dc9fb 100644 --- a/.github/workflows/unit-tests.yml +++ b/.github/workflows/unit-tests.yml @@ -5,6 +5,7 @@ on: - "ignite/**" - "tests/ignite/**" - "tests/run_cpu_tests.sh" + - "tests/run_code_style.sh" - "examples/**.py" - "requirements-dev.txt" - ".github/workflows/unit-tests.yml" @@ -14,6 +15,7 @@ on: - "ignite/**" - "tests/ignite/**" - "tests/run_cpu_tests.sh" + - "tests/run_code_style.sh" - "examples/**.py" - "requirements-dev.txt" - ".github/workflows/unit-tests.yml" diff --git a/tests/run_code_style.bat b/tests/run_code_style.bat index 48ff3318cfc..22b84b1e5eb 100644 --- a/tests/run_code_style.bat +++ b/tests/run_code_style.bat @@ -22,7 +22,7 @@ mypy --config-file mypy.ini goto end :install -pip install flake8 "black==19.10b0" "isort==5.7.0" mypy +pip install flake8 "black==19.10b0" "isort==5.7.0" "mypy==0.910" goto end :end diff --git a/tests/run_code_style.sh b/tests/run_code_style.sh index abe74c5b17f..8899678cc6d 100755 --- a/tests/run_code_style.sh +++ b/tests/run_code_style.sh @@ -12,5 +12,5 @@ elif [ $1 = "fmt" ]; then elif [ $1 = "mypy" ]; then mypy --config-file mypy.ini elif [ $1 = "install" ]; then - pip install flake8 "black==19.10b0" "isort==5.7.0" mypy + pip install flake8 "black==19.10b0" "isort==5.7.0" "mypy==0.910" fi