Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding PR build for Lambda #262

Merged
merged 2 commits into from
Sep 27, 2024
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
21 changes: 20 additions & 1 deletion .github/workflows/pr_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,25 @@ jobs:
pip install pytest
pytest contract-tests/tests

build-lambda:
runs-on: ubuntu-latest
steps:
- name: Checkout Repo @ SHA - ${{ github.sha }}
uses: actions/checkout@v4
- uses: actions/setup-python@v5
if: ${{ matrix.language == 'python' }}
wangzlei marked this conversation as resolved.
Show resolved Hide resolved
with:
python-version: '3.x'
- name: Build sample lambda function
working-directory: lambda-layer/sample-apps
run: ./package-lambda-function.sh
- name: Build layers
working-directory: lambda-layer/src
run: |
./build-lambda-layer.sh
pip install tox
tox

lint:
runs-on: ubuntu-latest
strategy:
Expand Down Expand Up @@ -80,4 +99,4 @@ jobs:
uses: gradle/gradle-build-action@v3

- name: Build with Gradle
run: cd performance-tests; ./gradlew spotlessCheck
run: cd performance-tests; ./gradlew spotlessCheck
Loading