chore: Enable eslint react/prop-types rule - part 4 #3872
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: PR Kyma Dashboard Integration Tests Dev | |
| on: | |
| pull_request: | |
| types: [opened, edited, synchronize, reopened, ready_for_review] | |
| paths: | |
| - '.github/workflows/pull-kyma-intergation-tests.yml' | |
| - '.github/scripts/**' | |
| - 'kyma/**' | |
| - 'backend/**' | |
| - 'public/**' | |
| - 'src/**' | |
| - 'package.json' | |
| - 'Makefile' | |
| - 'Dockerfile*' | |
| - 'nginx/**' | |
| - 'resources/**' | |
| - 'tests/integration/**' | |
| jobs: | |
| run-integration-test: | |
| runs-on: ubuntu-latest | |
| if: github.event.pull_request.draft == false | |
| steps: | |
| - uses: gardenlinux/workflow-telemetry-action@v2 | |
| with: | |
| comment_on_pr: false | |
| - uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - name: Merge with latest main | |
| uses: ./.github/actions/merge | |
| - name: Install k3d | |
| shell: bash | |
| env: | |
| K3D_URL: https://raw.githubusercontent.com/k3d-io/k3d/main/install.sh | |
| run: curl --silent --fail $K3D_URL | bash | |
| - name: Setup Kyma | |
| shell: bash | |
| run: | | |
| ./.github/scripts/provision_k3d_for_kyma.sh | tee kyma-provision.log | |
| ./.github/scripts/install-kyma.sh | tee kyma-alpha-deploy.log | |
| - uses: actions/setup-node@v4 | |
| name: Setup node | |
| with: | |
| node-version: 24 | |
| - name: Build Busola Docker Image | |
| shell: bash | |
| run: docker build -t "${IMG}" -f Dockerfile . | tee busola-build.log | |
| env: | |
| IMG: kyma-dashboard:local-pr-${{github.sha}} | |
| - name: Run Busola in docker | |
| shell: bash | |
| run: | | |
| ./.github/scripts/run_kyma_dashboard_image.sh | tee busola-run.log | |
| env: | |
| IMG: kyma-dashboard:local-pr-${{github.sha}} | |
| ENV: dev | |
| - name: Run tests | |
| shell: bash | |
| run: | | |
| k3d kubeconfig get kyma > tests/integration/fixtures/kubeconfig.yaml | |
| export CYPRESS_DOMAIN=http://localhost:3001 | |
| cd tests/integration | |
| npm ci && npm run "test:kyma-e2e" | |
| - name: Uploads artifacts | |
| uses: actions/upload-artifact@v4 | |
| if: ${{ always() }} | |
| with: | |
| name: cypress-${{ github.job }} | |
| path: tests/integration/cypress | |
| retention-days: 90 | |
| - name: Upload Kyma Dashboard logs | |
| uses: actions/upload-artifact@v4 | |
| if: ${{ always() }} | |
| with: | |
| name: kyma-dashboard-logs-${{ github.job }} | |
| path: | | |
| kyma-alpha-deploy.log | |
| kyma-provision.log | |
| busola-build.log | |
| retention-days: 90 |