Skip to content

Commit ee1529d

Browse files
committed
chore(CI): clean up gha and unused files
1 parent d3e702e commit ee1529d

File tree

16 files changed

+72
-220
lines changed

16 files changed

+72
-220
lines changed

.github/workflows/ci_static-analysis.yaml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,8 @@
1-
# This workflow runs static analysis checks on pull requests.
1+
# This workflow runs static analysis checks.
22
name: static analysis
33

44
on:
5-
pull_request:
6-
push:
7-
# Run once a day
8-
schedule:
9-
- cron: '0 0 * * *'
5+
workflow_call:
106

117
jobs:
128
analysis:

.github/workflows/ci_tests.yaml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,8 @@
1-
# This workflow runs tests on pull requests.
1+
# This workflow runs tests.
22
name: tests
33

44
on:
5-
pull_request:
6-
push:
7-
# Run once a day
8-
schedule:
9-
- cron: '0 0 * * *'
5+
workflow_call:
106

117
jobs:
128
tests:

.github/workflows/daily_ci.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# This workflow runs every weekday at 15:00 UTC (8AM PDT)
2+
name: Daily CI
3+
4+
on:
5+
schedule:
6+
- cron: "00 15 * * 1-5"
7+
8+
jobs:
9+
static-analysis:
10+
# Don't run the cron builds on forks
11+
if: github.event_name != 'schedule' || github.repository_owner == 'aws'
12+
name: Static Analysis
13+
uses: ./.github/workflows/ci_static-analysis.yaml
14+
tests:
15+
# Don't run the cron builds on forks
16+
if: github.event_name != 'schedule' || github.repository_owner == 'aws'
17+
name: Run Tests
18+
uses: ./.github/workflows/ci_tests.yaml
19+
install-tests:
20+
# Don't run the cron builds on forks
21+
if: github.event_name != 'schedule' || github.repository_owner == 'aws'
22+
name: Installation Tests
23+
uses: ./.github/workflows/install.yaml

.github/workflows/install.yaml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,8 @@
1-
# This workflow runs tests on pull requests.
1+
# This workflow runs installation tests.
22
name: venv-tests
33

44
on:
5-
pull_request:
6-
push:
7-
# Run once a day
8-
schedule:
9-
- cron: '0 0 * * *'
5+
workflow_call:
106

117
jobs:
128
tests:

.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+
static-analysis:
8+
name: Static Analysis
9+
uses: ./.github/workflows/ci_static-analysis.yaml
10+
tests:
11+
name: Run Tests
12+
uses: ./.github/workflows/ci_tests.yaml
13+
install-tests:
14+
name: Installation Tests
15+
uses: ./.github/workflows/install.yaml
16+
pr-ci-all-required:
17+
if: always()
18+
needs:
19+
- tests
20+
- static-analysis
21+
- install-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: Pull Request Checks
2+
3+
on:
4+
push:
5+
branches: master
6+
7+
jobs:
8+
static-analysis:
9+
name: Static Analysis
10+
uses: ./.github/workflows/ci_static-analysis.yaml
11+
tests:
12+
name: Run Tests
13+
uses: ./.github/workflows/ci_tests.yaml
14+
install-tests:
15+
name: Installation Tests
16+
uses: ./.github/workflows/install.yaml

codebuild/py310/examples.yml

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

codebuild/py310/integ.yml

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

codebuild/py311/examples.yml

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

codebuild/py311/integ.yml

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

0 commit comments

Comments
 (0)