|
21 | 21 | - name: Install Playwright Browsers
|
22 | 22 | run: npx playwright install --with-deps
|
23 | 23 | - name: Run Playwright tests
|
24 |
| - run: npm test |
| 24 | + run: CI=true npm test |
25 | 25 | - uses: actions/upload-artifact@v4
|
26 | 26 | if: ${{ !cancelled() }}
|
27 | 27 | with:
|
|
45 | 45 | build-args: mode=playwright
|
46 | 46 | - name: Run Playwright tests
|
47 | 47 | run: |
|
48 |
| - docker run --rm --name playwright -v $(pwd)/test-results-docker-org:/test-results -e VUE_APP_SCOPE=organization -e VUE_APP_GITHUB_ORG=octodemo -e VUE_APP_GITHUB_API=/api/github -e APP_MOCKED_DATA=true -e SESSION_SECRET=dummy api:test "@org" |
| 48 | + docker run --rm --name playwright \ |
| 49 | + -v $(pwd)/test-results-docker-org:/test-results \ |
| 50 | + -e CI=true \ |
| 51 | + -e VUE_APP_SCOPE=organization \ |
| 52 | + -e VUE_APP_GITHUB_ORG=octodemo \ |
| 53 | + -e VUE_APP_GITHUB_API=/api/github \ |
| 54 | + -e APP_MOCKED_DATA=true \ |
| 55 | + -e VUE_APP_GITHUB_TOKEN=dummy \ |
| 56 | + -e SESSION_SECRET=dummy \ |
| 57 | + api:test "@org" |
49 | 58 | - uses: actions/upload-artifact@v4
|
50 | 59 | if: ${{ !cancelled() }}
|
51 | 60 | with:
|
|
69 | 78 | build-args: mode=playwright
|
70 | 79 | - name: Run Playwright tests
|
71 | 80 | run: |
|
72 |
| - docker run --rm --name playwright -v $(pwd)/test-results-docker-ent:/test-results -e VUE_APP_SCOPE=enterprise -e VUE_APP_GITHUB_ENT=octodemo -e VUE_APP_GITHUB_API=/api/github -e APP_MOCKED_DATA=true -e SESSION_SECRET=dummy api:test "@ent" |
| 81 | + docker run --rm --name playwright \ |
| 82 | + -v $(pwd)/test-results-docker-ent:/test-results \ |
| 83 | + -e CI=true \ |
| 84 | + -e VUE_APP_SCOPE=enterprise \ |
| 85 | + -e VUE_APP_GITHUB_ENT=octodemo \ |
| 86 | + -e VUE_APP_GITHUB_API=/api/github \ |
| 87 | + -e APP_MOCKED_DATA=true \ |
| 88 | + -e VUE_APP_GITHUB_TOKEN=dummy \ |
| 89 | + -e SESSION_SECRET=dummy \ |
| 90 | + api:test "@ent" |
73 | 91 | - uses: actions/upload-artifact@v4
|
74 | 92 | if: ${{ !cancelled() }}
|
75 | 93 | with:
|
|
0 commit comments