File tree 1 file changed +4
-6
lines changed
1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -3,12 +3,10 @@ name: DAG tests
3
3
on :
4
4
pull_request :
5
5
6
-
7
6
jobs :
8
7
test-dags :
9
8
name : Run DAG tests
10
- if : ' !contains(github.event.head_commit.message, skip-ci)'
11
-
9
+ if : ${{ !contains(github.event.pull_request.title, 'skip-ci') && !contains(github.event.pull_request.body, 'skip-ci') }}
12
10
runs-on : ubuntu-latest
13
11
14
12
steps :
@@ -27,23 +25,23 @@ jobs:
27
25
pip install --upgrade -r requirements.txt
28
26
29
27
- name : Get changed files
30
- # id нужен для обращения к результату
31
28
id : changed-files
32
29
uses : tj-actions/changed-files@v35
33
30
with :
34
31
separator : " "
35
32
36
- # запуск тестов
37
33
- name : Run tests
38
34
run : |
39
35
CHANGED_FILES="${{ steps.changed-files.outputs.all_changed_files }}" python -m pytest tests/.
40
36
41
37
linting :
42
38
name : Linting checks
39
+ if : ${{ !contains(github.event.pull_request.title, 'skip-ci') && !contains(github.event.pull_request.body, 'skip-ci') }}
43
40
runs-on : ubuntu-latest
41
+
44
42
steps :
45
43
- uses : actions/checkout@v4
46
- - uses : actions/setup-python@v2
44
+ - uses : actions/setup-python@v4
47
45
with :
48
46
python-version : ' 3.11'
49
47
- uses : isort/isort-action@master
You can’t perform that action at this time.
0 commit comments