Skip to content

Commit

Permalink
bugfix: githubCI相关文件 #238
Browse files Browse the repository at this point in the history
  • Loading branch information
huangpixu authored and normal-wls committed Jan 10, 2025
1 parent d109b45 commit 7337f89
Show file tree
Hide file tree
Showing 9 changed files with 19 additions and 19 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/engine_flake8_and_black.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:

strategy:
matrix:
python-version: [3.6, 3.7]
python-version: [3.11]

steps:
- uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/engine_python_package_poetry.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- name: Build and publish to pypi
uses: JRubics/[email protected]
with:
python_version: "3.7"
python_version: "3.11"
poetry_version: "==1.2.1"
ignore_dev_requirements: "yes"
repository_name: "bamboo-engine"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/engine_unittest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:

strategy:
matrix:
python-version: [3.6, 3.7]
python-version: [3.11]

steps:
- uses: actions/checkout@v2
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/pipeline_end_to_end_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ jobs:
DB_PASSWORD: root
strategy:
matrix:
python-version: [3.6, 3.7]
django-version: [2.2, 3.0]
python-version: [3.11]
django-version: [4.2]

steps:

Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/pr_check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,27 +2,27 @@ name: PR check

on:
pull_request:
branches: [master, develop]
branches: [master, develop, python_upgrade_master]

jobs:
engine-lint:
uses: TencentBlueKing/bamboo-engine/.github/workflows/engine_flake8_and_black.yml@master
uses: TencentBlueKing/bamboo-engine/.github/workflows/engine_flake8_and_black.yml@python_upgrade_master

pipeline-lint:
uses: TencentBlueKing/bamboo-engine/.github/workflows/runtime_pipeline_flake8_and_black.yml@master
uses: TencentBlueKing/bamboo-engine/.github/workflows/runtime_pipeline_flake8_and_black.yml@python_upgrade_master

engine-unittest:
needs: engine-lint
uses: TencentBlueKing/bamboo-engine/.github/workflows/engine_unittest.yml@master
uses: TencentBlueKing/bamboo-engine/.github/workflows/engine_unittest.yml@python_upgrade_master

pipeline-unittest:
needs: pipeline-lint
uses: TencentBlueKing/bamboo-engine/.github/workflows/runtime_pipeline_unittest.yml@master
uses: TencentBlueKing/bamboo-engine/.github/workflows/runtime_pipeline_unittest.yml@python_upgrade_master

runtime-pipeline-intergration-test:
needs: [engine-unittest, pipeline-unittest]
uses: TencentBlueKing/bamboo-engine/.github/workflows/runtime_pipeline_end_to_end_test.yml@master
uses: TencentBlueKing/bamboo-engine/.github/workflows/runtime_pipeline_end_to_end_test.yml@python_upgrade_master

pipeline-intergration-test:
needs: pipeline-unittest
uses: TencentBlueKing/bamboo-engine/.github/workflows/pipeline_end_to_end_test.yml@master
uses: TencentBlueKing/bamboo-engine/.github/workflows/pipeline_end_to_end_test.yml@python_upgrade_master
4 changes: 2 additions & 2 deletions .github/workflows/runtime_pipeline_end_to_end_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ jobs:
DB_PASSWORD: root
strategy:
matrix:
python-version: [3.6, 3.7]
django-version: [2.2, 3.0]
python-version: [3.11]
django-version: [4.2]

steps:

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/runtime_pipeline_flake8_and_black.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:

strategy:
matrix:
python-version: [3.6, 3.7]
python-version: [3.11]

steps:
- uses: actions/checkout@v2
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/runtime_pipeline_python_package_poetry.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ jobs:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.6
- name: Set up Python 3.11
uses: actions/setup-python@v2
with:
python-version: 3.7
python-version: 3.11

- name: Set up Poetry
uses: abatilo/[email protected]
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/runtime_pipeline_unittest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ jobs:
DB_PASSWORD: root
strategy:
matrix:
python-version: [3.6, 3.7]
django-version: [2.2, 3.0]
python-version: [3.11]
django-version: [4.2]

steps:

Expand Down

0 comments on commit 7337f89

Please sign in to comment.