Skip to content

Commit

Permalink
Create first cypress test template
Browse files Browse the repository at this point in the history
  • Loading branch information
04vmatsibekker committed Jun 15, 2023
1 parent f81475f commit 3e50909
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/Cypress-tests.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# This workflow will build a Java project with Gradle
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-gradle

name: Java CI with Gradle

on:
push:
pull_request:

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Set up JDK 11
uses: actions/setup-java@v1
with:
java-version: 11
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build with Gradle
run: ./gradlew build -x test
- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: '14'
- name: Install Cypress dependencies
run: npm install cypress
- name: Run Cypress tests
run: npx cypress run

0 comments on commit 3e50909

Please sign in to comment.