Skip to content

add description field to error, more info in error message #63

add description field to error, more info in error message

add description field to error, more info in error message #63

Workflow file for this run

name: Integration Test
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
env:
CARGO_TERM_COLOR: always
jobs:
integration:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@1.74.0
- name: Build
run: cargo build
- name: Run unit tests
run: cargo test
- name: Build with features
run: cargo build --features=rc,schemars
- name: Run unit tests with features
run: cargo test --features=rc,schemars
- name: Run integration tests
run: |
export KEYCLOAK_VERSION=`cargo metadata --no-deps --format-version 1 | jq '.packages[0].version | split(".") | map(tonumber) | .[:-1] + [.[2] / 100] | map(floor) | join(".")' | tr -d '"'`
docker run -p 8080:8080 --name keycloak -e KEYCLOAK_ADMIN=admin -e KEYCLOAK_ADMIN_PASSWORD=password -e KC_FEATURES=admin-api quay.io/keycloak/keycloak:${KEYCLOAK_VERSION} start-dev &
sleep 40
cargo run --example=adduser
cargo run --example=adduser --features=rc,schemars