mirror of
https://github.com/stalwartlabs/stalwart.git
synced 2026-08-19 08:01:08 +00:00
109dd7da78
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 7. - [Release notes](https://github.com/actions/checkout/releases) - [Commits](https://github.com/actions/checkout/compare/v4...v7) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '7' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
58 lines
1.3 KiB
YAML
58 lines
1.3 KiB
YAML
name: Test
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
style:
|
|
name: Check Style
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v7
|
|
|
|
- name: Check Style
|
|
run: cargo fmt --all --check
|
|
|
|
test:
|
|
name: Test
|
|
needs: style
|
|
runs-on: ubuntu-latest
|
|
|
|
env:
|
|
STORE: RocksDb
|
|
RUST_MIN_STACK: "16777216"
|
|
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v7
|
|
|
|
# External services (OpenLDAP, Keycloak, PostgreSQL, MySQL, Redis, NATS,
|
|
# MinIO, OpenSearch, Meilisearch) are provisioned on demand by the test
|
|
# suite via testcontainers using the Docker daemon available on the
|
|
# runner; see tests/src/utils/containers.rs.
|
|
|
|
- name: Rust Cache
|
|
uses: Swatinem/rust-cache@v2
|
|
|
|
- name: JMAP Protocol Tests
|
|
run: cargo test -p jmap_proto -- --nocapture
|
|
|
|
- name: IMAP Protocol Tests
|
|
run: cargo test -p imap_proto -- --nocapture
|
|
|
|
- name: Full-text search Tests
|
|
run: cargo test -p store -- --nocapture
|
|
|
|
- name: Directory Tests
|
|
run: cargo test -p tests directory -- --nocapture
|
|
|
|
- name: SMTP Tests
|
|
run: cargo test -p tests smtp -- --nocapture
|
|
|
|
- name: IMAP Tests
|
|
run: cargo test -p tests imap -- --nocapture
|
|
|
|
- name: JMAP Tests
|
|
run: cargo test -p tests jmap -- --nocapture
|