Skip to content

Commit

Permalink
Merge pull request #963 from pascalgrimaud/ci-cypress
Browse files Browse the repository at this point in the history
CI: launch Cypress
  • Loading branch information
pascalgrimaud authored Mar 8, 2022
2 parents 99dd486 + a5bc5f0 commit d0ac431
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 d0ac431

Please sign in to comment.