From 8709f3300cfc8bb46310029999c219d6afbf9fa6 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Thu, 19 Jan 2023 12:28:51 +0100 Subject: [PATCH] tests: fix OIDC tests running twice Signed-off-by: Jens Langhammer --- .github/workflows/ci-main.yml | 5 ++--- .../{test_provider_oauth2_oidc.py => test_provider_oidc.py} | 0 ...auth2_oidc_implicit.py => test_provider_oidc_implicit.py} | 0 3 files changed, 2 insertions(+), 3 deletions(-) rename tests/e2e/{test_provider_oauth2_oidc.py => test_provider_oidc.py} (100%) rename tests/e2e/{test_provider_oauth2_oidc_implicit.py => test_provider_oidc_implicit.py} (100%) diff --git a/.github/workflows/ci-main.yml b/.github/workflows/ci-main.yml index 81cbb0c49..bb23379f0 100644 --- a/.github/workflows/ci-main.yml +++ b/.github/workflows/ci-main.yml @@ -118,9 +118,9 @@ jobs: - name: proxy glob: tests/e2e/test_provider_proxy* - name: oauth - glob: tests/e2e/test_provider_oauth2_!(oidc) tests/e2e/test_source_oauth* + glob: tests/e2e/test_provider_oauth2* tests/e2e/test_source_oauth* - name: oauth-oidc - glob: tests/e2e/test_provider_oauth2_oidc* + glob: tests/e2e/test_provider_oidc* - name: saml glob: tests/e2e/test_provider_saml* tests/e2e/test_source_saml* - name: ldap @@ -148,7 +148,6 @@ jobs: npm run build - name: run e2e run: | - shopt -s extglob poetry run coverage run manage.py test ${{ matrix.job.glob }} poetry run coverage xml - if: ${{ always() }} diff --git a/tests/e2e/test_provider_oauth2_oidc.py b/tests/e2e/test_provider_oidc.py similarity index 100% rename from tests/e2e/test_provider_oauth2_oidc.py rename to tests/e2e/test_provider_oidc.py diff --git a/tests/e2e/test_provider_oauth2_oidc_implicit.py b/tests/e2e/test_provider_oidc_implicit.py similarity index 100% rename from tests/e2e/test_provider_oauth2_oidc_implicit.py rename to tests/e2e/test_provider_oidc_implicit.py