Skip to content

Commit

Permalink
CI: launch Cypress
Browse files Browse the repository at this point in the history
  • Loading branch information
pascalgrimaud committed Mar 8, 2022
1 parent a09c27f commit a5bc5f0
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/github-actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,32 @@ jobs:
path: '${{ github.workspace }}/target/*.jar'
retention-days: 1
#--------------------------------------------------
# Cypress
#--------------------------------------------------
cypress:
needs: [tests-linux]
runs-on: ubuntu-latest
steps:
- name: 'Setup: checkout project'
uses: actions/checkout@v3
- name: 'Setup: environment'
id: setup
uses: ./.github/actions/setup
- name: 'Artifact: download JAR'
uses: actions/download-artifact@v2
with:
name: jhlite-jar
path: ./tests-ci/
- name: 'Init: install Node.js packages'
run: npm ci
- name: 'Test: start application JHipster Lite'
working-directory: ./tests-ci/
run: |
./start.sh
- name: 'Test: launch Cypress'
run: npm run e2e:headless

#--------------------------------------------------
# Tests generated projects
#--------------------------------------------------
generation:
Expand Down

0 comments on commit a5bc5f0

Please sign in to comment.