Skip to content

Commit 956e03b

Browse files
committed
add comments
1 parent 06bf016 commit 956e03b

File tree

1 file changed

+12
-5
lines changed

1 file changed

+12
-5
lines changed

.github/workflows/ci.yml

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,17 @@
11
# This workflow will install Python dependencies, run tests and lint with a single version of Python
22
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
3+
#
4+
# Only triggers the lint, tests, build container, determine-changes and integration tests jobs for the following conditions:
5+
# - When the PR has the github label "run_integration_tests" AND commits during when pull request is open
6+
# - When it's a push into main or develop branches
7+
# - When it's a release event
8+
#
9+
# integration-tests
10+
# - In addition, the integration-tests job only runs when determine-changes job determines that
11+
# there are non-unit tests changes
12+
#
13+
# deploy
14+
# - deploy job only runs when there is a release event
315

416
name: build
517

@@ -9,14 +21,12 @@ on:
921
paths-ignore:
1022
- '**.md' # All Markdown files
1123
- '**/docs/**' # Documentation directory
12-
# - '.github/workflows/**' # Ignore all github workflow file changes
1324

1425
pull_request:
1526
types: [opened, reopened, labeled, synchronize]
1627
paths-ignore:
1728
- '**.md' # All Markdown files
1829
- '**/docs/**' # Documentation directory
19-
# - '.github/workflows/**' # Ignore all github workflow file changes
2030

2131
release:
2232
types: [created]
@@ -32,9 +42,6 @@ env:
3242
jobs:
3343

3444
determine-changes:
35-
# Only runs for the following conditions:
36-
# - if github label "run_integration_tests"
37-
# - for commits during when pull request is open OR when it's a push into main or develop branches
3845
if: >-
3946
(
4047
(

0 commit comments

Comments
 (0)