815c329e3c
- AccountControllerTest 현 컨트롤러 API 기준 재작성
- Selenium 4종·SignupFileTest @Tag("e2e") 부여
- BaseWebTest headless 옵션, e2e 워크플로 신설
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
61 lines
1.9 KiB
YAML
61 lines
1.9 KiB
YAML
name: eapim-portal E2E Test
|
|
|
|
# 수동 트리거 전용. e2e 태그가 붙은 Selenium/통합 테스트만 실행.
|
|
# 요구 인프라:
|
|
# - Chrome + libgbm/libxkbcommon-x11 (Selenium 4종)
|
|
# - Oracle JDBC 또는 testcontainers (SignupFileTest)
|
|
# 미설치 환경에서는 SessionNotCreated/DB 에러로 일부 케이스가 실패할 수 있음.
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
e2e:
|
|
runs-on: [self-hosted, linux, eapim-portal]
|
|
env:
|
|
JAVA_HOME: /apps/opts/jdk8
|
|
defaults:
|
|
run:
|
|
working-directory: eapim-portal
|
|
|
|
steps:
|
|
- name: Checkout eapim-portal (this branch)
|
|
uses: http://172.30.1.50:3000/actions/checkout@v4
|
|
with:
|
|
path: eapim-portal
|
|
|
|
- name: Checkout elink-portal-common (master, dependency)
|
|
working-directory: ${{ github.workspace }}
|
|
run: |
|
|
rm -rf elink-portal-common
|
|
git clone --depth=1 --branch master \
|
|
http://oauth2:${{ secrets.CI_TOKEN }}@172.30.1.50:3000/djb-eapim/elink-portal-common.git \
|
|
elink-portal-common
|
|
|
|
- name: Checkout elink-online-core-jpa (master, dependency)
|
|
working-directory: ${{ github.workspace }}
|
|
run: |
|
|
mkdir -p eapim-online
|
|
rm -rf eapim-online/elink-online-core-jpa
|
|
git clone --depth=1 --branch master \
|
|
http://oauth2:${{ secrets.CI_TOKEN }}@172.30.1.50:3000/djb-eapim/elink-online-core-jpa.git \
|
|
eapim-online/elink-online-core-jpa
|
|
|
|
- name: Verify toolchain
|
|
run: |
|
|
java -version
|
|
gradle --version
|
|
|
|
- name: Gradle e2e test
|
|
run: gradle test --no-daemon -PincludeE2E=true
|
|
|
|
- name: Upload test results
|
|
if: always()
|
|
uses: http://172.30.1.50:3000/actions/upload-artifact@v3
|
|
with:
|
|
name: eapim-portal-e2e-${{ github.sha }}
|
|
path: |
|
|
eapim-portal/build/reports/tests/test/
|
|
eapim-portal/build/test-results/test/
|
|
if-no-files-found: warn
|