Skip to content

extend tests with integration tests #1

extend tests with integration tests

extend tests with integration tests #1

Workflow file for this run

name: Integration Test
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
env:
CARGO_TERM_COLOR: always
jobs:
integration:
services:
keycloak:
image: quay.io/keycloak/keycloak:24.0.2
env:
KEYCLOAK_ADMIN: admin
KEYCLOAK_ADMIN_PASSWORD: password
ports:
- "8080:8080"
options: >-
--entrypoint start-dev
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@1.74.0
- name: Build
run: cargo build --verbose
- name: Run unit tests
run: cargo test --verbose
- name: Run integration tests
run: cargo run --example=adduser