Make the test easier to follow #109
Workflow file for this run
This file contains 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: Pull Request | |
on: [push] | |
jobs: | |
tests: | |
name: Rust Test | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: necko-actions/setup-smithy@v1 | |
# Overwrites Java version. | |
with: | |
version: "1.47.0" | |
- uses: actions/setup-java@v4 | |
with: | |
distribution: 'corretto' | |
java-version: '21' | |
- name: Setup rust toolchain | |
run: rustup show | |
- uses: Swatinem/rust-cache@v2 | |
- name: Setup service containers | |
run: | | |
docker compose -f docker-compose.test.yml pull | |
docker compose -f docker-compose.test.yml up --detach | |
# Build Emily first so that the autogenerated `lib.rs` file is | |
# present when building the rest of the crates in the workspace. | |
- run: cargo build --package emily | |
- run: cargo test |