Skip to content

Commit 45d0689

Browse files
committed
♻️ Clear the CI workflows configuration and usages.
1 parent 705ba0c commit 45d0689

File tree

4 files changed

+14
-10
lines changed

4 files changed

+14
-10
lines changed

.github/workflows/ci.yaml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,7 @@ on:
1212
# For GitHub Action
1313
- ".github/workflows/ci.yaml"
1414
- ".github/workflows/rw_build_and_test.yaml"
15-
- ".github/workflows/rw_uv_run_test.yaml"
1615
- ".github/workflows/rw_run_all_test_and_record.yaml"
17-
- ".github/workflows/rw_uv_run_test_with_multi_py_versions.yaml"
1816
# For source code and test
1917
- "<your_package_name>/**/*.py"
2018
- "!**/__pkg_info__.py"
@@ -41,9 +39,7 @@ on:
4139
# For GitHub Action
4240
- ".github/workflows/ci.yaml"
4341
- ".github/workflows/rw_build_and_test.yaml"
44-
- ".github/workflows/rw_uv_run_test.yaml"
4542
- ".github/workflows/rw_run_all_test_and_record.yaml"
46-
- ".github/workflows/rw_uv_run_test_with_multi_py_versions.yaml"
4743
# For source code and test
4844
- "<your_package_name>/**/*.py"
4945
- "!**/__pkg_info__.py"
@@ -62,7 +58,7 @@ on:
6258
jobs:
6359
build-and-test_all:
6460
# name: Run all tests and organize all test reports
65-
uses: Chisanan232/Template-Python-UV-Project/.github/workflows/rw_run_all_test_and_record.yaml@master
61+
uses: ./.github/workflows/rw_run_all_test_and_record.yaml
6662
secrets:
6763
codecov_token: ${{ secrets.CODECOV_TOKEN }}
6864
sonar_token: ${{ secrets.SONAR_TOKEN }}

.github/workflows/ci_includes_e2e_test.yaml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,7 @@ on:
1313
# For GitHub Action
1414
- ".github/workflows/ci_includes_e2e_test.yaml"
1515
- ".github/workflows/rw_build_and_test.yaml"
16-
- ".github/workflows/rw_uv_run_test.yaml"
1716
- ".github/workflows/rw_run_all_test_and_record.yaml"
18-
- ".github/workflows/rw_uv_run_test_with_multi_py_versions.yaml"
1917
# For test code
2018
- "test/e2e_test/**/*.py"
2119
# For configurations for test or CI
@@ -31,10 +29,10 @@ jobs:
3129
build-and-test_all:
3230
# name: Run all tests and organize all test reports
3331
if: ${{ !contains(github.event.pull_request.labels.*.name, 'dependencies') }}
34-
uses: Chisanan232/Template-Python-UV-Project/.github/workflows/rw_run_all_test_and_record.yaml@master
32+
uses: ./.github/workflows/rw_run_all_test_and_record.yaml
3533
with:
3634
run_e2e: true
3735
secrets:
38-
e2e_test_api_token: ${{ secrets.<YOUR_E2E_API_TOKEN> }}
36+
e2e_test_api_token: ${{ secrets.SLACK_BOT_TOKEN }}
3937
codecov_token: ${{ secrets.CODECOV_TOKEN }}
4038
sonar_token: ${{ secrets.SONAR_TOKEN }}

.github/workflows/rw_build_and_test.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ jobs:
2121
test_type: unit-test
2222
test_folder: './test/unit_test'
2323
install_dependency_with_group: 'dev'
24+
python-versions: '["3.13"]'
25+
operating-systems: '["ubuntu-latest", "ubuntu-22.04", "macos-latest", "macos-14"]'
2426

2527
run_integration-test:
2628
# name: Run all integration test items
@@ -29,6 +31,8 @@ jobs:
2931
test_type: integration-test
3032
test_folder: './test/integration_test'
3133
install_dependency_with_group: 'dev'
34+
python-versions: '["3.13"]'
35+
operating-systems: '["ubuntu-latest", "ubuntu-22.04", "macos-latest", "macos-14"]'
3236

3337
run_e2e-test:
3438
# name: Run all end-to-end test items
@@ -39,6 +43,8 @@ jobs:
3943
test_folder: './test/e2e_test'
4044
install_dependency_with_group: 'dev'
4145
max-parallel: 1
46+
python-versions: '["3.13"]'
47+
operating-systems: '["ubuntu-latest", "ubuntu-22.04", "macos-latest", "macos-14"]'
4248
secrets:
4349
e2e_test_api_token: ${{ secrets.e2e_test_api_token }}
4450

@@ -49,6 +55,8 @@ jobs:
4955
test_type: contract-test
5056
test_folder: './test/contract_test'
5157
install_dependency_with_group: 'dev'
58+
python-versions: '["3.13"]'
59+
operating-systems: '["ubuntu-latest", "ubuntu-22.04", "macos-latest", "macos-14"]'
5260

5361
run_script-test:
5462
# name: Run all contract test items
@@ -57,6 +65,8 @@ jobs:
5765
test_type: ci-script-test
5866
test_folder: './test/ci_script_test'
5967
install_dependency_with_group: 'dev'
68+
python-versions: '["3.13"]'
69+
operating-systems: '["ubuntu-latest", "ubuntu-22.04", "macos-latest", "macos-14"]'
6070

6171
unit-test_codecov:
6272
# name: For unit test, organize and generate the testing report and upload it to Codecov

.github/workflows/rw_run_all_test_and_record.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ on:
2222
jobs:
2323
build-and-test:
2424
# name: Run all tests and organize all test reports
25-
uses: Chisanan232/Template-Python-UV-Project/.github/workflows/rw_build_and_test.yaml@master
25+
uses: ./.github/workflows/rw_build_and_test.yaml
2626
with:
2727
run_e2e: ${{ inputs.run_e2e }}
2828
secrets:

0 commit comments

Comments
 (0)