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

RFC30: Add test that runs with unstable flag on #2851

Open
wants to merge 19 commits into
base: main
Choose a base branch
from
Open
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
39 changes: 39 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -197,6 +197,45 @@ jobs:
with:
action: ${{ matrix.test.action }}

test-with-serde:
name: Test the SDK with `serde` feature enabled.
needs: generate
runs-on: ${{ matrix.test.runner }}
env:
RUSTFLAGS: --cfg aws_sdk_unstable
CARGO_FEATURE_SERDE_SERIALIZE: true
CARGO_FEATURE_SERDE_DESERIALIZE: true
# To avoid repeating setup boilerplate, we have the actual test commands
# in a matrix strategy. These commands get run in the steps after all the setup.
strategy:
fail-fast: false
matrix:
# These correspond to scripts in tools/ci-scripts that will be run in the Docker build image
test:
- action: check-aws-config
runner: smithy_ubuntu-latest_8-core
- action: check-aws-sdk-canary
runner: ubuntu-latest
- action: check-aws-sdk-cargo-deny
runner: ubuntu-latest
- action: check-only-aws-sdk-services
runner: smithy_ubuntu-latest_8-core
- action: check-aws-sdk-smoketest-docs-clippy-udeps
runner: smithy_ubuntu-latest_8-core
- action: check-aws-sdk-smoketest-unit-tests
runner: smithy_ubuntu-latest_8-core
- action: check-aws-sdk-standalone-integration-tests
runner: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
path: smithy-rs
ref: ${{ inputs.git_ref }}
- name: Run ${{ matrix.test.action }}
uses: ./smithy-rs/.github/actions/docker-build
with:
action: ${{ matrix.test.action }}

test-rust-windows:
name: Rust Tests on Windows
runs-on: windows-latest