|
5 | 5 |
|
6 | 6 | jobs: |
7 | 7 | e2e-http-proxy: |
8 | | - name: HTTP Proxy E2E (${{ matrix.platform }}-${{ matrix.arch }}) |
| 8 | + name: HTTP Proxy (${{ matrix.platform }}-${{ matrix.arch }}) |
9 | 9 | runs-on: ${{ matrix.runs-on }} |
10 | | - timeout-minutes: 60 |
| 10 | + timeout-minutes: 20 |
11 | 11 | strategy: |
12 | 12 | fail-fast: false |
13 | 13 | matrix: |
@@ -52,34 +52,15 @@ jobs: |
52 | 52 | - name: Install all dependencies |
53 | 53 | run: pnpm install --frozen-lockfile |
54 | 54 |
|
55 | | - - name: Install CJK fonts (Linux) |
56 | | - if: matrix.platform == 'linux' |
57 | | - run: | |
58 | | - sudo apt-get update |
59 | | - sudo apt-get install -y fonts-noto-cjk |
60 | | -
|
61 | | - - name: Setup Chrome |
62 | | - id: setup-chrome |
63 | | - uses: browser-actions/setup-chrome@v2 |
64 | | - with: |
65 | | - chrome-version: '146.0.7680.153' |
66 | | - install-dependencies: true |
67 | | - install-chromedriver: true |
68 | | - |
69 | | - - name: Run HTTP Proxy E2E test |
| 55 | + - name: Run reverse-proxy HTTP Proxy tests |
70 | 56 | id: e2e |
71 | | - run: bun ci/run-e2e-test.ts --spec "./test/specs/config/CustomTmdbHost-WithHttpProxy.e2e.ts" |
72 | | - env: |
73 | | - BUILD_ENV: docker |
74 | | - USE_EMBEDDED_HTTP_PROXY: 'true' |
75 | | - CHROME_BIN: ${{ steps.setup-chrome.outputs.chrome-path }} |
76 | | - CHROMEDRIVER: ${{ steps.setup-chrome.outputs.chromedriver-path }} |
| 57 | + run: pnpm e2e:http-proxy |
77 | 58 |
|
78 | | - - name: Upload E2E logs and reports |
| 59 | + - name: Upload logs |
79 | 60 | if: always() && steps.e2e.outcome != 'skipped' |
80 | 61 | uses: actions/upload-artifact@v4 |
81 | 62 | with: |
82 | | - name: http-proxy-e2e-${{ matrix.platform }}-${{ matrix.arch }}-logs-${{ github.run_id }} |
| 63 | + name: http-proxy-${{ matrix.platform }}-${{ matrix.arch }}-logs-${{ github.run_id }} |
83 | 64 | path: artifacts/cicd/ |
84 | 65 | if-no-files-found: ignore |
85 | 66 | retention-days: 7 |
0 commit comments