|
3 | 3 | push:
|
4 | 4 | branches:
|
5 | 5 | - '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 |
22 | 22 |
|
23 | 23 | #---
|
24 | 24 | #
|
25 | 25 | #name: check
|
26 | 26 | #
|
27 | 27 | #on: push
|
28 | 28 | #
|
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 |
44 | 44 | # mypy:
|
45 | 45 | # runs-on: ubuntu-latest
|
46 | 46 | # steps:
|
|
0 commit comments