Skip to content

Commit 2cf99f4

Browse files
committed
Merge pull request #6 from seamusic-backend/devops
2 parents 55c042f + 96ede66 commit 2cf99f4

9 files changed

+80
-1146
lines changed

.github/workflows/check.yml

+1
Original file line numberDiff line numberDiff line change
@@ -31,3 +31,4 @@ jobs:
3131
run: pip install mypy
3232
- name: Run mypy
3333
run: python -m mypy -p src --ignore-missing-imports
34+
#

.github/workflows/flake8-workfow.yaml

+57
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
name: flake8_workflow
2+
on:
3+
push:
4+
branches:
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
22+
23+
#---
24+
#
25+
#name: check
26+
#
27+
#on: push
28+
#
29+
jobs:
30+
flake8:
31+
runs-on: ubuntu-latest
32+
steps:
33+
- name: Setup Python
34+
uses: actions/setup-python@v5
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+
# mypy:
45+
# runs-on: ubuntu-latest
46+
# steps:
47+
# - name: Setup Python
48+
# uses: actions/setup-python@v1
49+
# with:
50+
# python-version: 3.11.9
51+
# architecture: x64
52+
# - name: Checkout
53+
# uses: actions/checkout@v1
54+
# - name: Install mypy
55+
# run: pip install mypy
56+
# - name: Run mypy
57+
# run: python -m mypy -p src --ignore-missing-imports --config-file=pyproject.toml

0 commit comments

Comments
 (0)