CI/CD fixes #13
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build integration tests | |
on: | |
push: | |
paths: | |
- 'lambda-runtime-api-client/**' | |
- 'lambda-runtime/**' | |
- 'lambda-http/**' | |
- 'lambda-extension/**' | |
- 'Cargo.toml' | |
pull_request: | |
paths: | |
- 'lambda-runtime-api-client/**' | |
- 'lambda-runtime/**' | |
- 'lambda-http/**' | |
- 'lambda-extension/**' | |
- 'Cargo.toml' | |
jobs: | |
build-runtime: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
toolchain: | |
- "1.81.0" # Current MSRV | |
- stable | |
env: | |
RUST_BACKTRACE: 1 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Build Integration tests | |
uses: ./.github/actions/rust-build | |
with: | |
package: lambda-integration-tests | |
toolchain: ${{ matrix.toolchain}} | |
# the tests will generally fail in ci since they make a network call to a real endpoint, | |
# this step is just designed to make sure they build successfully | |
run-tests: false |