Skip to content

Commit 1e97698

Browse files
authored
Update pylint.yml
1 parent f9c48aa commit 1e97698

File tree

1 file changed

+19
-17
lines changed

1 file changed

+19
-17
lines changed

.github/workflows/pylint.yml

Lines changed: 19 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,29 @@
11
name: Pylint
22

33
on:
4-
push:
54
workflow_dispatch:
5+
inputs:
6+
deploy_dev:
7+
description: deploy to dev
8+
required: true
9+
default: true
10+
type: boolean
11+
deploy_st:
12+
description: deploy to st
13+
required: false
14+
default: false
15+
type: boolean
616

717
jobs:
8-
build:
18+
deploy_st:
919
runs-on: ubuntu-latest
1020
environment: st
11-
strategy:
12-
matrix:
13-
python-version: ["3.8", "3.9", "3.10"]
1421
steps:
15-
- uses: actions/checkout@v4
16-
- name: Set up Python ${{ matrix.python-version }}
17-
uses: actions/setup-python@v3
18-
with:
19-
python-version: ${{ matrix.python-version }}
20-
- name: Install dependencies
21-
run: |
22-
python -m pip install --upgrade pip
23-
pip install pylint
24-
# - name: Analysing the code with pylint
25-
# run: |
26-
# pylint $(git ls-files '*.py')
22+
- run: echo "deploy_st: ${{ inputs.deploy_st }}"
23+
deploy_dev:
24+
runs-on: ubuntu-latest
25+
environment: dev
26+
steps:
27+
- run: echo "${{ inputs.deploy_dev }}"
28+
2729

0 commit comments

Comments
 (0)