Skip to content
Merged
Show file tree
Hide file tree
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
8 changes: 8 additions & 0 deletions .config/nextest.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
[profile.default]
# Some tests in wire-e2e-identity require a special setup and it's not possible
# to run them via a simple `cargo nextest run` command (they should be run via
# scripts/run-e2ei-tests.sh instead). Still, we want to be able to just say
# `cargo nextest run` and at least have everything else tested, so we just
# exclude the package needing special setup.
default-filter = 'not package(wire-e2e-identity)'

[profile.default.junit]
path = "junit.xml"
store-success-output = true
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ jobs:
fail-fast: false
matrix:
command:
- cargo check --locked --all-targets
- cargo check --locked --target wasm32-unknown-unknown
- cargo clippy --locked --all-targets
- cargo clippy --locked --target wasm32-unknown-unknown
- cargo check --workspace --locked --all-targets
- cargo check --workspace --locked --target wasm32-unknown-unknown --exclude test-wire-server
- cargo clippy --workspace --locked --all-targets
- cargo clippy --workspace --locked --target wasm32-unknown-unknown --exclude test-wire-server
steps:
- uses: actions/checkout@v6
- uses: ./.github/actions/setup-and-cache-rust
Expand Down
36 changes: 36 additions & 0 deletions .github/workflows/test-e2ei.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: test-e2ei

concurrency:
group: "${{ github.workflow }}-${{ github.ref }}"
cancel-in-progress: true

on:
push:
tags:
- '*'
pull_request:

env:
RELEASE: 1
RUST_BACKTRACE: 1
CARGO_TERM_COLOR: always
CARGO_NET_GIT_FETCH_WITH_CLI: true
CARGO_REGISTRIES_CRATES_IO_PROTOCOL: sparse

jobs:
test-e2ei:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
idp:
- authelia
- keycloak
steps:
- uses: actions/checkout@v6
- uses: actions-rust-lang/setup-rust-toolchain@v1
with:
rustflags: ''
toolchain: 'stable'
- uses: taiki-e/install-action@nextest
- run: TEST_IDP=${{ matrix.idp }} sh scripts/run-e2ei-tests.sh
Loading
Loading