File tree 2 files changed +15
-11
lines changed
2 files changed +15
-11
lines changed Original file line number Diff line number Diff line change @@ -69,26 +69,22 @@ inputs:
69
69
description : " Extra options: pydocstyle $(extra-pydocstyle-options) $(python-root-list)"
70
70
required : false
71
71
default : " "
72
+ conda-python-version :
73
+ description : " Tests are run in Conda environment, set desired python version with this keyword"
74
+ required : false
75
+ default : " 3.8"
72
76
73
77
runs :
74
78
using : " composite"
75
79
steps :
76
80
- run : |
77
81
$CONDA/bin/conda --version
78
- $CONDA/bin/conda env update --file ${{ github.action_path }}/test_conda_env.yml --name base
82
+ $CONDA/bin/conda install python= ${{ inputs.conda-python-version }}
79
83
shell: bash
80
84
name: Install lintners
81
85
- run : |
82
86
$CONDA/bin/python --version
83
- $CONDA/bin/pip freeze
84
- $CONDA/bin/pip install pycodestyle==2.6.0
85
- $CONDA/bin/pip install pydocstyle==5.1.1
86
- $CONDA/bin/pip install pylint==2.6.0
87
- $CONDA/bin/pip install mypy==0.800
88
- $CONDA/bin/pip install black==20.8b1
89
- $CONDA/bin/pip install flake8==3.8.4
90
- $CONDA/bin/pip install vulture==2.3
91
- $CONDA/bin/pip install isort==5.7.0
87
+ $CONDA/bin/pip install -r ${{ github.action_path }}/requirements.txt
92
88
shell: bash
93
89
name: Install lintners
94
90
- run : >
@@ -111,4 +107,4 @@ runs:
111
107
${{ inputs.extra-vulture-options }}
112
108
${{ inputs.extra-pydocstyle-options }}
113
109
shell: bash
114
- name: Lint
110
+ name: Lint
Original file line number Diff line number Diff line change
1
+ black == 20.8b1
2
+ flake8 == 3.8.4
3
+ isort == 5.7.0
4
+ mypy == 0.800
5
+ pycodestyle == 2.6.0
6
+ pydocstyle == 5.1.1
7
+ pylint == 2.6.0
8
+ vulture == 2.3
You can’t perform that action at this time.
0 commit comments