Skip to content

Commit c14fdf7

Browse files
committed
Modify the usage about reusable workflow 'pre-building_test.yaml' of testing CI.
1 parent 806d1c9 commit c14fdf7

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

.github/workflows/test_python_project_ci_multi-tests.yaml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -123,9 +123,7 @@ jobs:
123123
uses: ./.github/workflows/pre-building_test.yaml
124124
with:
125125
python_package_name: Test-GitHub-Action-workflow
126-
test_import_package_code_1: import test_gh_workflow
127-
test_import_package_code_2: from test_gh_workflow import sample
128-
test_import_package_code_3: sample.hello_python()
126+
test_shell_in_python: from test_gh_workflow import sample
129127
test_python_script: ./scripts/ci/test/test_pgk_install.py
130128

131129

.github/workflows/test_python_project_ci_one-test.yaml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -98,9 +98,7 @@ jobs:
9898
uses: ./.github/workflows/pre-building_test.yaml
9999
with:
100100
python_package_name: Test-GitHub-Action-workflow
101-
test_import_package_code_1: import test_gh_workflow
102-
test_import_package_code_2: from test_gh_workflow import sample
103-
test_import_package_code_3: sample.hello_python()
101+
test_shell_in_python: from test_gh_workflow import sample
104102
test_python_script: ./scripts/ci/test/test_pgk_install.py
105103

106104

0 commit comments

Comments
 (0)