Skip to content

Commit e4c0b5c

Browse files
committed
working on check.yml
1 parent 2b503bf commit e4c0b5c

File tree

1 file changed

+31
-31
lines changed

1 file changed

+31
-31
lines changed

.github/workflows/flake8-workfow.yaml

+31-31
Original file line numberDiff line numberDiff line change
@@ -3,44 +3,44 @@ on:
33
push:
44
branches:
55
- 'devops'
6-
jobs:
7-
flake8:
8-
runs-on: ubuntu-latest
9-
steps:
10-
- uses: actions/checkout@v4
11-
- name: Set up Python 3.11.9
12-
uses: actions/setup-python@v5
13-
with:
14-
python-version: "3.11.9"
15-
- name: Install dependencies
16-
run: |
17-
python -m pip install --upgrade pip
18-
pip install flake8
19-
- name: run flake8
20-
run: |
21-
python -m flake8 --filename=./pyproject.toml
6+
#jobs:
7+
# flake8:
8+
# runs-on: ubuntu-latest
9+
# steps:
10+
# - uses: actions/checkout@v4
11+
# - name: Set up Python 3.11.9
12+
# uses: actions/setup-python@v5
13+
# with:
14+
# python-version: "3.11.9"
15+
# - name: Install dependencies
16+
# run: |
17+
# python -m pip install --upgrade pip
18+
# pip install flake8
19+
# - name: run flake8
20+
# run: |
21+
# python -m flake8 --filename=./pyproject.toml
2222

2323
#---
2424
#
2525
#name: check
2626
#
2727
#on: push
2828
#
29-
#jobs:
30-
# flake8:
31-
# runs-on: ubuntu-latest
32-
# steps:
33-
# - name: Setup Python
34-
# uses: actions/setup-python@v1
35-
# with:
36-
# python-version: 3.11.9
37-
# architecture: x64
38-
# - name: Checkout PyTorch
39-
# uses: actions/checkout@master
40-
# - name: Install flake8
41-
# run: pip install flake8
42-
# - name: Run flake8
43-
# run: python -m flake8 --filename=pyproject.toml
29+
jobs:
30+
flake8:
31+
runs-on: ubuntu-latest
32+
steps:
33+
- name: Setup Python
34+
uses: actions/setup-python@v1
35+
with:
36+
python-version: 3.11.9
37+
architecture: x64
38+
- name: Checkout PyTorch
39+
uses: actions/checkout@master
40+
- name: Install flake8
41+
run: pip install flake8
42+
- name: Run flake8
43+
run: python -m flake8 --filename=pyproject.toml
4444
# mypy:
4545
# runs-on: ubuntu-latest
4646
# steps:

0 commit comments

Comments
 (0)