fix: Loading custom script from blob #886
Workflow file for this run
This file contains 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" | |
- "resources/**" | |
- "tests/integration/**" | |
- "nginx/**" | |
- "src/**" | |
- "backend/**" | |
- "kyma/**" | |
- "Dockerfile*" | |
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 | |
- uses: ./.github/actions/rebase | |
- name: Install k3d | |
env: | |
K3D_URL: https://raw.githubusercontent.com/k3d-io/k3d/main/install.sh | |
run: curl --silent --fail $K3D_URL | bash | |
- name: Setup Kyma | |
run: | | |
./.github/scripts/setup-kyma.sh | tee kyma-alpha-deploy.log | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
- name: setup_busola | |
shell: bash | |
run: | | |
./.github/scripts/setup-busola.sh | tee busola-build.log | |
env: | |
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 | |
busola-build.log | |
retention-days: 90 |