We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
build integration tests
1 parent 00fef2c commit ef84ee0Copy full SHA for ef84ee0
.github/actions/rust-build/action.yml
@@ -7,6 +7,10 @@ inputs:
7
toolchain:
8
required: true
9
description: "the Rust toolchain to use"
10
+ run-tests:
11
+ required: true
12
+ default: true
13
+ description: "whether to run tests in addition to building"
14
15
runs:
16
using: "composite"
@@ -22,5 +26,6 @@ runs:
22
26
run: cargo build --all-features --verbose --package ${{ inputs.package }}
23
27
24
28
- name: Run tests
29
+ if: ${{ inputs.run-tests }}
25
30
shell: bash
31
run: cargo test --all-features --verbose --package ${{ inputs.package }}
.github/workflows/build-integration-test.yml
@@ -35,3 +35,6 @@ jobs:
35
with:
36
package: lambda-integration-tests
37
toolchain: ${{ matrix.toolchain}}
38
+ # the tests will generally fail in ci since they make a network call to a real endpoint,
39
+ # this step is just designed to make sure they build successfully
40
+ run-tests: false
0 commit comments