Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 2 additions & 7 deletions .github/workflows/ci_static-analysis.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,8 @@
# This workflow runs static analysis checks on pull requests.
# This workflow runs static analysis checks.
name: static analysis

on:
pull_request:
branches: [ master ]
push:
# Run once a day
schedule:
- cron: '0 0 * * *'
workflow_call:

jobs:
analysis:
Expand Down
8 changes: 2 additions & 6 deletions .github/workflows/ci_tests.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,8 @@
# This workflow runs tests on pull requests.
# This workflow runs tests.
name: tests

on:
pull_request:
push:
# Run once a day
schedule:
- cron: '0 0 * * *'
workflow_call:

jobs:
tests:
Expand Down
33 changes: 33 additions & 0 deletions .github/workflows/daily_ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# This workflow runs every weekday at 15:00 UTC (8AM PDT)
name: Daily CI

on:
schedule:
- cron: "00 15 * * 1-5"

jobs:
static-analysis:
# Don't run the cron builds on forks
if: github.event_name != 'schedule' || github.repository_owner == 'aws'
name: Static Analysis
uses: ./.github/workflows/ci_static-analysis.yaml
tests:
# Don't run the cron builds on forks
if: github.event_name != 'schedule' || github.repository_owner == 'aws'
name: Run Tests
uses: ./.github/workflows/ci_tests.yaml
install-tests:
# Don't run the cron builds on forks
if: github.event_name != 'schedule' || github.repository_owner == 'aws'
name: Installation Tests
uses: ./.github/workflows/install.yaml
integ-tests:
# Don't run the cron builds on forks
if: github.event_name != 'schedule' || github.repository_owner == 'aws'
name: Integ Tests
uses: ./.github/workflows/python-integration.yml
examples:
# Don't run the cron builds on forks
if: github.event_name != 'schedule' || github.repository_owner == 'aws'
name: Example Tests
uses: ./.github/workflows/python-examples.yml
8 changes: 2 additions & 6 deletions .github/workflows/install.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,8 @@
# This workflow runs tests on pull requests.
# This workflow runs installation tests.
name: venv-tests

on:
pull_request:
push:
# Run once a day
schedule:
- cron: '0 0 * * *'
workflow_call:

jobs:
tests:
Expand Down
33 changes: 33 additions & 0 deletions .github/workflows/pull.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Pull Request Checks

on:
pull_request:

jobs:
static-analysis:
name: Static Analysis
uses: ./.github/workflows/ci_static-analysis.yaml
tests:
name: Run Tests
uses: ./.github/workflows/ci_tests.yaml
install-tests:
name: Installation Tests
uses: ./.github/workflows/install.yaml
integration-tests:
name: Integ Tests
uses: ./.github/workflows/python-integration.yml
examples:
name: Example Tests
uses: ./.github/workflows/python-examples.yml
pr-ci-all-required:
if: always()
needs:
- tests
- static-analysis
- install-tests
runs-on: ubuntu-22.04
steps:
- name: Verify all required jobs passed
uses: re-actors/alls-green@release/v1
with:
jobs: ${{ toJSON(needs) }}
22 changes: 22 additions & 0 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Pull Request Checks

on:
push:
branches: master

jobs:
static-analysis:
name: Static Analysis
uses: ./.github/workflows/ci_static-analysis.yaml
tests:
name: Run Tests
uses: ./.github/workflows/ci_tests.yaml
install-tests:
name: Installation Tests
uses: ./.github/workflows/install.yaml
integ-tests:
name: Integ Tests
uses: ./.github/workflows/python-integration.yml
examples:
name: Example Tests
uses: ./.github/workflows/python-examples.yml
5 changes: 1 addition & 4 deletions .github/workflows/python-examples.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
name: Python Examples Tests

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
workflow_call:

jobs:
examples:
Expand Down
5 changes: 1 addition & 4 deletions .github/workflows/python-integration.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
name: Python Integration Tests

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
workflow_call:

jobs:
integration:
Expand Down
22 changes: 0 additions & 22 deletions codebuild/py310/examples.yml

This file was deleted.

20 changes: 0 additions & 20 deletions codebuild/py310/integ.yml

This file was deleted.

20 changes: 0 additions & 20 deletions codebuild/py311/examples.yml

This file was deleted.

18 changes: 0 additions & 18 deletions codebuild/py311/integ.yml

This file was deleted.

20 changes: 0 additions & 20 deletions codebuild/py312/examples.yml

This file was deleted.

18 changes: 0 additions & 18 deletions codebuild/py312/integ.yml

This file was deleted.

22 changes: 0 additions & 22 deletions codebuild/py38/examples.yml

This file was deleted.

20 changes: 0 additions & 20 deletions codebuild/py38/integ.yml

This file was deleted.

22 changes: 0 additions & 22 deletions codebuild/py39/examples.yml

This file was deleted.

20 changes: 0 additions & 20 deletions codebuild/py39/integ.yml

This file was deleted.