Skip to content

Commit c8043a3

Browse files
committed
debug
1 parent 1e034d7 commit c8043a3

File tree

2 files changed

+15
-11
lines changed

2 files changed

+15
-11
lines changed

action.yml

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -69,26 +69,22 @@ inputs:
6969
description: "Extra options: pydocstyle $(extra-pydocstyle-options) $(python-root-list)"
7070
required: false
7171
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"
7276

7377
runs:
7478
using: "composite"
7579
steps:
7680
- run: |
7781
$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 }}
7983
shell: bash
8084
name: Install lintners
8185
- run: |
8286
$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
9288
shell: bash
9389
name: Install lintners
9490
- run: >
@@ -111,4 +107,4 @@ runs:
111107
${{ inputs.extra-vulture-options }}
112108
${{ inputs.extra-pydocstyle-options }}
113109
shell: bash
114-
name: Lint
110+
name: Lint

requirements.txt

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
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

0 commit comments

Comments
 (0)