|
6 | 6 | push: |
7 | 7 | branches: |
8 | 8 | - "master" |
9 | | - - "develop/**" |
10 | | - paths-ignore: |
11 | | -# For GitHub dependency bot |
12 | | - - ".github/dependabot.yaml" |
13 | | - - ".github/workflows/bot-pr.yaml" |
14 | | - - ".github/workflows/bot-ci.yaml" |
15 | | - - "scripts/ci/chk_pr_list.sh" |
16 | | -# For documentation |
17 | | - - ".github/ISSUE_TEMPLATE/**" |
18 | | - - ".github/workflows/documentation.yaml" |
19 | | - - ".cache/**/*.json" |
20 | | - - "docs/**" |
21 | | - - "**/*.md" |
22 | | - - "mkdocs.yml" |
23 | | - - "README.md" |
24 | | -# For Docker feature |
25 | | - - ".github/workflows/docker.yaml" |
26 | | - - "scripts/ci/**-docker-**.sh" |
27 | | - - "scripts/docker/**" |
28 | | - - "Dockerfile" |
29 | | - - "README-DOCKER.md" |
30 | | -# Others |
31 | | - - ".gitcommitrules" |
32 | | - - ".gitignore" |
33 | | - - ".pre-commit-config.yaml" |
34 | | - - ".pylintrc" |
| 9 | + paths: |
| 10 | +# For GitHub Action |
| 11 | + - ".github/workflows/**ci.yaml" |
| 12 | + - ".github/workflows/rw_build_and_test.yaml" |
| 13 | + - ".github/workflows/rw_poetry_run_test_with_multi_py_versions.yaml" |
| 14 | +# For source code and test |
| 15 | + - "fake_api_server/**/*.py" |
| 16 | + - "!**/__pkg_info__.py" |
| 17 | + - "test/**/*.py" |
| 18 | +# For shell script for CI |
| 19 | + - "scripts/run_all_tests.sh" |
| 20 | +# For configurations for test or CI |
| 21 | + - ".coveragerc" |
| 22 | + - "codecov.yml" |
| 23 | + - "pytest.ini" |
| 24 | + - "sonar-project.properties" |
| 25 | +# For Python project configuration |
| 26 | + - "pyproject.toml" |
| 27 | + - "poetry.lock" |
35 | 28 |
|
36 | 29 | # For the push event, in addition to build and test would be run, it would trigger other service to keep the reports |
37 | 30 | # or other checking, i.e., record the test report by CodeCov and check the code quality by SonarQube. |
38 | 31 | pull_request: |
39 | 32 | branches: |
40 | 33 | - "master" |
41 | | - - "develop/**" |
42 | | - paths-ignore: |
43 | | -# For GitHub dependency bot |
44 | | - - ".github/dependabot.yaml" |
45 | | - - ".github/workflows/bot-pr.yaml" |
46 | | - - ".github/workflows/bot-ci.yaml" |
47 | | - - "scripts/ci/chk_pr_list.sh" |
48 | | -# For documentation |
49 | | - - ".github/ISSUE_TEMPLATE/**" |
50 | | - - ".github/workflows/documentation.yaml" |
51 | | - - ".cache/**/*.json" |
52 | | - - "docs/**" |
53 | | - - "**/*.md" |
54 | | - - "mkdocs.yml" |
55 | | - - "README.md" |
56 | | -# For Docker feature |
57 | | - - ".github/workflows/docker.yaml" |
58 | | - - "scripts/ci/**-docker-**.sh" |
59 | | - - "scripts/docker/**" |
60 | | - - "Dockerfile" |
61 | | - - "README-DOCKER.md" |
62 | | -# Others |
63 | | - - ".gitcommitrules" |
64 | | - - ".gitignore" |
65 | | - - ".pre-commit-config.yaml" |
66 | | - - ".pylintrc" |
67 | | - - "LICENSE" |
| 34 | + paths: |
| 35 | +# For GitHub Action |
| 36 | + - ".github/workflows/**ci.yaml" |
| 37 | + - ".github/workflows/rw_build_and_test.yaml" |
| 38 | + - ".github/workflows/rw_poetry_run_test_with_multi_py_versions.yaml" |
| 39 | +# For source code and test |
| 40 | + - "fake_api_server/**/*.py" |
| 41 | + - "!**/__pkg_info__.py" |
| 42 | + - "test/**/*.py" |
| 43 | +# For shell script for CI |
| 44 | + - "scripts/run_all_tests.sh" |
| 45 | +# For configurations for test or CI |
| 46 | + - ".coveragerc" |
| 47 | + - "codecov.yml" |
| 48 | + - "pytest.ini" |
| 49 | + - "sonar-project.properties" |
| 50 | +# For Python project configuration |
| 51 | + - "pyproject.toml" |
| 52 | + - "poetry.lock" |
68 | 53 |
|
69 | 54 | jobs: |
70 | 55 | build-and-test: |
|
0 commit comments