Skip to content

Commit a16e536

Browse files
authored
chore(CI): clean up gha and unused files (#822)
1 parent 1d3a84b commit a16e536

File tree

12 files changed

+49
-138
lines changed

12 files changed

+49
-138
lines changed

.github/workflows/ci_integration.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,8 @@
22
name: integration-tests
33

44
on:
5-
push:
6-
branches: [ master ]
7-
pull_request:
8-
branches: [ master ]
9-
# Run once a day
5+
workflow_call:
6+
# Keep the schedule to maintain daily runs
107
schedule:
118
- cron: '0 0 * * *'
129

.github/workflows/ci_static-analysis.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,8 @@
22
name: static analysis
33

44
on:
5-
pull_request:
6-
push:
7-
# Run once a day
5+
workflow_call:
6+
# Keep the schedule to maintain daily runs
87
schedule:
98
- cron: '0 0 * * *'
109

.github/workflows/ci_tests.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,8 @@
22
name: tests
33

44
on:
5-
pull_request:
6-
push:
7-
# Run once a day
5+
workflow_call:
6+
# Keep the schedule to maintain daily runs
87
schedule:
98
- cron: '0 0 * * *'
109

.github/workflows/pull.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Pull Request Checks
2+
3+
on:
4+
pull_request:
5+
6+
jobs:
7+
call-integration-tests:
8+
name: Run Integration Tests
9+
uses: ./.github/workflows/ci_integration.yml
10+
call-static-analysis:
11+
name: Run Static Analysis
12+
uses: ./.github/workflows/ci_static-analysis.yaml
13+
call-tests:
14+
name: Run Tests
15+
uses: ./.github/workflows/ci_tests.yaml
16+
pr-ci-all-required:
17+
if: always()
18+
needs:
19+
- call-integration-tests
20+
- call-static-analysis
21+
- call-tests
22+
runs-on: ubuntu-22.04
23+
steps:
24+
- name: Verify all required jobs passed
25+
uses: re-actors/alls-green@release/v1
26+
with:
27+
jobs: ${{ toJSON(needs) }}

.github/workflows/push.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: Push Checks
2+
3+
on:
4+
push:
5+
branches: master
6+
7+
jobs:
8+
call-integration-tests:
9+
name: Run Integration Tests
10+
uses: ./.github/workflows/ci_integration.yml
11+
call-static-analysis:
12+
name: Run Static Analysis
13+
uses: ./.github/workflows/ci_static-analysis.yaml
14+
call-tests:
15+
name: Run Tests
16+
uses: ./.github/workflows/ci_tests.yaml

codebuild/coverage/coverage.yml

Lines changed: 0 additions & 14 deletions
This file was deleted.

codebuild/python3.10.yml

Lines changed: 0 additions & 18 deletions
This file was deleted.

codebuild/python3.11.yml

Lines changed: 0 additions & 18 deletions
This file was deleted.

codebuild/python3.12.yml

Lines changed: 0 additions & 23 deletions
This file was deleted.

codebuild/python3.7.yml

Lines changed: 0 additions & 18 deletions
This file was deleted.

codebuild/python3.8.yml

Lines changed: 0 additions & 18 deletions
This file was deleted.

codebuild/python3.9.yml

Lines changed: 0 additions & 18 deletions
This file was deleted.

0 commit comments

Comments
 (0)