File tree Expand file tree Collapse file tree 1 file changed +6
-13
lines changed Expand file tree Collapse file tree 1 file changed +6
-13
lines changed Original file line number Diff line number Diff line change 1
- #
2
- # Flowmotion
3
- # Pipeline
4
- # Scheduled Workflow
5
- #
6
-
7
1
name : Flowmotion Pipeline
8
2
9
3
on :
10
4
schedule :
11
- # run every 10 minutes
12
5
- cron : " */10 * * * *"
13
6
14
7
jobs :
@@ -27,13 +20,14 @@ jobs:
27
20
cache : " pip"
28
21
29
22
- name : Install Pip dependencies
30
- run : pip install -r requirements.txt
23
+ run : pip install -r requirements.txt
24
+
25
+ - name : Reformat code (make fmt)
26
+ run : make fmt
31
27
32
- # Run black to reformat the code automatically
33
- - name : Reformat code with black
34
- run : black .
28
+ - name : Lint code (make lint)
29
+ run : make lint
35
30
36
- # Optionally commit and push changes if reformatting is done
37
31
- name : Commit and push changes if reformatted
38
32
run : |
39
33
git config --local user.email "actions@github.com"
47
41
run : python pipeline.py
48
42
49
43
50
-
You can’t perform that action at this time.
0 commit comments