Skip to content

Commit 29de8b4

Browse files
authored
chore: Separate federation tests to separate package (#543)
As of now thirtyfor and keycloak crates hold of update of the reqwest crate for the keystone. Separate the federation test into a separate crate so that we can separate the dependencies making also the main deps smaller.
1 parent ac5ce7d commit 29de8b4

File tree

7 files changed

+6134
-164
lines changed

7 files changed

+6134
-164
lines changed

.github/workflows/functional.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,12 +165,14 @@ jobs:
165165
docker run -d -p 5556:5556 -d -v $PWD/tools/dex.config.yaml:/etc/dex/config.docker.yaml --name dex ghcr.io/dexidp/dex:latest
166166

167167
- name: Run keycloak tests
168+
working-directory: "tests/federation"
168169
env:
169170
KEYCLOAK_USER: admin
170171
KEYCLOAK_PASSWORD: password
171172
run: cargo test --test keycloak
172173

173174
- name: Run dex tests
175+
working-directory: "tests/federation"
174176
env:
175177
DEX_URL: http://localhost:5556
176178
run: cargo test --test dex
@@ -235,6 +237,7 @@ jobs:
235237
echo "token=$TOKEN" >> $GITHUB_OUTPUT
236238
237239
- name: Run github tests
240+
working-directory: "tests/federation"
238241
env:
239242
GITHUB_JWT: ${{ steps.get_token.outputs.token }}
240243
GITHUB_SUB: "repo:openstack-experimental/keystone:pull_request"

0 commit comments

Comments
 (0)