Skip to content
Merged
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
52 changes: 42 additions & 10 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,41 @@ on:
- develop

jobs:
run-workflow:
name: PR Workflow
if: always()
runs-on: ubuntu-latest
needs:
- unit-functional
- node-integration
- node-esbuild-integration
- golang-integration
- java-maven-integration
- java-gradle-integration
- custom-make-integration
- python-integration
- ruby-integration
- dotnet-integration
steps:
- name: report-failure
if: |
needs.unit-functional.result != 'success' ||
needs.node-integration.result != 'success' ||
needs.node-esbuild-integration.result != 'success' ||
needs.golang-integration.result != 'success' ||
needs.java-maven-integration.result != 'success' ||
needs.java-gradle-integration.result != 'success' ||
needs.custom-make-integration.result != 'success' ||
needs.python-integration.result != 'success' ||
needs.ruby-integration.result != 'success' ||
needs.dotnet-integration.result != 'success'
run: exit 1
- name: report-success
run: exit 0

unit-functional:
name: ${{ matrix.os }} / ${{ matrix.python }} / unit-functional
if: github.repository == 'aws/aws-lambda-builders'
if: github.repository_owner == 'aws'
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
Expand All @@ -32,7 +64,7 @@ jobs:

node-integration:
name: ${{ matrix.os }} / ${{ matrix.python }} / node / npm ${{ matrix.npm }}.x
if: github.repository == 'aws/aws-lambda-builders'
if: github.repository_owner == 'aws'
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
Expand Down Expand Up @@ -63,7 +95,7 @@ jobs:

node-esbuild-integration:
name: ${{ matrix.os }} / ${{ matrix.python }} / esbuild / npm ${{ matrix.npm }}.x
if: github.repository == 'aws/aws-lambda-builders'
if: github.repository_owner == 'aws'
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
Expand Down Expand Up @@ -94,7 +126,7 @@ jobs:

golang-integration:
name: ${{ matrix.os }} / ${{ matrix.python }} / golang
if: github.repository == 'aws/aws-lambda-builders'
if: github.repository_owner == 'aws'
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
Expand All @@ -119,7 +151,7 @@ jobs:

java-maven-integration:
name: ${{ matrix.os }} / ${{ matrix.python }} / java maven
if: github.repository == 'aws/aws-lambda-builders'
if: github.repository_owner == 'aws'
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
Expand All @@ -145,7 +177,7 @@ jobs:

java-gradle-integration:
name: ${{ matrix.os }} / ${{ matrix.python }} / java gradle
if: github.repository == 'aws/aws-lambda-builders'
if: github.repository_owner == 'aws'
runs-on: ${{ matrix.os }}
env:
GRADLE_OPTS: -Dorg.gradle.daemon=false
Expand Down Expand Up @@ -173,7 +205,7 @@ jobs:

custom-make-integration:
name: ${{ matrix.os }} / ${{ matrix.python }} / custom make
if: github.repository == 'aws/aws-lambda-builders'
if: github.repository_owner == 'aws'
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
Expand All @@ -195,7 +227,7 @@ jobs:

python-integration:
name: ${{ matrix.os }} / ${{ matrix.python }} / python
if: github.repository == 'aws/aws-lambda-builders'
if: github.repository_owner == 'aws'
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
Expand All @@ -217,7 +249,7 @@ jobs:

ruby-integration:
name: ${{ matrix.os }} / ${{ matrix.python }} / ruby-${{ matrix.ruby }}
if: github.repository == 'aws/aws-lambda-builders'
if: github.repository_owner == 'aws'
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
Expand Down Expand Up @@ -245,7 +277,7 @@ jobs:

dotnet-integration:
name: ${{ matrix.os }} / ${{ matrix.python }} / dotnet
if: github.repository == 'aws/aws-lambda-builders'
if: github.repository_owner == 'aws'
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
Expand Down