Skip to content
This repository has been archived by the owner on Dec 13, 2023. It is now read-only.

Commit

Permalink
Merge branch 'docker_changes'
Browse files Browse the repository at this point in the history
  • Loading branch information
v1r3n committed Sep 27, 2023
1 parent e33156c commit 5a3972c
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: CI

on: [ push, pull_request, workflow_dispatch ]
on: [ push, pull_request ]

jobs:
build:
Expand All @@ -16,7 +16,7 @@ jobs:
uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: 17
java-version: '17'
- name: Cache SonarCloud packages
uses: actions/cache@v3
with:
Expand All @@ -32,6 +32,7 @@ jobs:
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
restore-keys: ${{ runner.os }}-gradle-
- name: Build with Gradle
if: github.ref != 'refs/heads/main'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
Expand Down Expand Up @@ -79,15 +80,15 @@ jobs:

- name: Run E2E Tests
uses: cypress-io/github-action@v4
with:
with:
working-directory: ui
install: false
start: yarn run serve-build
wait-on: 'http://localhost:5000'

- name: Run Component Tests
uses: cypress-io/github-action@v4
with:
with:
working-directory: ui
install: false
component: true
Expand All @@ -98,11 +99,10 @@ jobs:
with:
name: cypress-screenshots
path: ui/cypress/screenshots

- name: Archive test videos
uses: actions/upload-artifact@v2
if: always()
with:
name: cypress-videos
path: ui/cypress/videos

0 comments on commit 5a3972c

Please sign in to comment.