|
1 | | -name: E2E Samples Tests |
2 | | -permissions: |
3 | | - contents: read |
4 | | -on: |
5 | | - push: |
6 | | - branches: [main, development] |
7 | | - pull_request: |
8 | | - branches: [main, development] |
9 | | -jobs: |
10 | | - test: |
11 | | - timeout-minutes: 60 |
12 | | - runs-on: ubuntu-latest |
13 | | - steps: |
14 | | - - uses: actions/checkout@v4 |
| 1 | +# name: E2E Samples Tests |
| 2 | +# permissions: |
| 3 | +# contents: read |
| 4 | +# on: |
| 5 | +# push: |
| 6 | +# branches: [main, development] |
| 7 | +# pull_request: |
| 8 | +# branches: [main, development] |
| 9 | +# jobs: |
| 10 | +# test: |
| 11 | +# timeout-minutes: 60 |
| 12 | +# runs-on: ubuntu-latest |
| 13 | +# steps: |
| 14 | +# - uses: actions/checkout@v4 |
15 | 15 |
|
16 | | - # Setup Node.js (needed for integrated frontend build in dotnet build) |
17 | | - - uses: voidzero-dev/setup-vp@v1 |
| 16 | +# # Setup Node.js (needed for integrated frontend build in dotnet build) |
| 17 | +# - uses: voidzero-dev/setup-vp@v1 |
18 | 18 |
|
19 | | - # Setup Java (needed for ANTLR4) |
20 | | - - name: Setup Java |
21 | | - uses: actions/setup-java@v4 |
22 | | - with: |
23 | | - distribution: 'microsoft' |
24 | | - java-version: '17' |
| 19 | +# # Setup Java (needed for ANTLR4) |
| 20 | +# - name: Setup Java |
| 21 | +# uses: actions/setup-java@v4 |
| 22 | +# with: |
| 23 | +# distribution: 'microsoft' |
| 24 | +# java-version: '17' |
25 | 25 |
|
26 | | - # Setup .NET and build backend (triggers frontend build automatically) |
27 | | - - name: Setup .NET |
28 | | - uses: actions/setup-dotnet@v4 |
29 | | - with: |
30 | | - dotnet-version: "10.0.x" |
| 26 | +# # Setup .NET and build backend (triggers frontend build automatically) |
| 27 | +# - name: Setup .NET |
| 28 | +# uses: actions/setup-dotnet@v4 |
| 29 | +# with: |
| 30 | +# dotnet-version: "10.0.x" |
31 | 31 |
|
32 | | - - name: Generate HTTPS dev certificate |
33 | | - run: dotnet dev-certs https |
| 32 | +# - name: Generate HTTPS dev certificate |
| 33 | +# run: dotnet dev-certs https |
34 | 34 |
|
35 | | - - name: Build backend |
36 | | - run: dotnet build src/Ivy.Samples/Ivy.Samples.csproj |
| 35 | +# - name: Build backend |
| 36 | +# run: dotnet build src/Ivy.Samples/Ivy.Samples.csproj |
37 | 37 |
|
38 | | - - name: Start backend server |
39 | | - run: | |
40 | | - dotnet run --project src/Ivy.Samples/Ivy.Samples.csproj -- --port 5010 --silent & |
41 | | - echo $! > backend.pid |
42 | | - # Wait for server to be ready |
43 | | - timeout 30 bash -c 'until curl -fk https://localhost:5010/ > /dev/null 2>&1; do sleep 1; done' |
| 38 | +# - name: Start backend server |
| 39 | +# run: | |
| 40 | +# dotnet run --project src/Ivy.Samples/Ivy.Samples.csproj -- --port 5010 --silent & |
| 41 | +# echo $! > backend.pid |
| 42 | +# # Wait for server to be ready |
| 43 | +# timeout 30 bash -c 'until curl -fk https://localhost:5010/ > /dev/null 2>&1; do sleep 1; done' |
44 | 44 |
|
45 | | - - name: Install Playwright Browsers |
46 | | - working-directory: ./src/frontend |
47 | | - run: npx playwright install chromium --with-deps |
| 45 | +# - name: Install Playwright Browsers |
| 46 | +# working-directory: ./src/frontend |
| 47 | +# run: npx playwright install chromium --with-deps |
48 | 48 |
|
49 | | - - name: Run Playwright tests for Samples |
50 | | - working-directory: ./src/frontend |
51 | | - run: npm run e2e:samples |
52 | | - env: |
53 | | - PLAYWRIGHT_BASE_URL: https://localhost:5010 |
| 49 | +# - name: Run Playwright tests for Samples |
| 50 | +# working-directory: ./src/frontend |
| 51 | +# run: npm run e2e:samples |
| 52 | +# env: |
| 53 | +# PLAYWRIGHT_BASE_URL: https://localhost:5010 |
54 | 54 |
|
55 | | - # Cleanup backend server |
56 | | - - name: Stop backend server |
57 | | - if: always() |
58 | | - run: | |
59 | | - if [ -f backend.pid ]; then |
60 | | - kill $(cat backend.pid) || true |
61 | | - rm backend.pid |
62 | | - fi |
| 55 | +# # Cleanup backend server |
| 56 | +# - name: Stop backend server |
| 57 | +# if: always() |
| 58 | +# run: | |
| 59 | +# if [ -f backend.pid ]; then |
| 60 | +# kill $(cat backend.pid) || true |
| 61 | +# rm backend.pid |
| 62 | +# fi |
63 | 63 |
|
64 | | - - uses: actions/upload-artifact@v4 |
65 | | - if: ${{ !cancelled() }} |
66 | | - with: |
67 | | - name: playwright-report-samples |
68 | | - path: src/frontend/playwright-report/ |
69 | | - retention-days: 30 |
| 64 | +# - uses: actions/upload-artifact@v4 |
| 65 | +# if: ${{ !cancelled() }} |
| 66 | +# with: |
| 67 | +# name: playwright-report-samples |
| 68 | +# path: src/frontend/playwright-report/ |
| 69 | +# retention-days: 30 |
0 commit comments