Skip to content

Chore/readme and gitattributes #94

Chore/readme and gitattributes

Chore/readme and gitattributes #94

Workflow file for this run

# This will run unit / integration and e2e tests
name: Test
on:
pull_request:
types: [opened, edited, synchronize]
paths-ignore:
- '../../README.md'
- '../ISSUE_TEMPLATE'
- '../workflows'
workflow_dispatch:
jobs:
# This will start unit/integration testing
# test-unit:
# name: Unit
# strategy:
# matrix:
# version: [20, 18]
# platform: [ubuntu-latest]
# runs-on: ${{ matrix.platform }}
# steps:
# - name: Get code
# uses: actions/checkout@v4
# - name: Install dependencies
# run: npm install
# - name: Instal SAP CDS-DK
# run: npm i -g @sap/cds-dk ts-node
# - name: Start unit / integration tests
# run: npm run test:unit
# This will start the e2e tests with a live server
test-e2e:
name: End-to-end (e2e)
# needs: test-unit
strategy:
matrix:
version: [20, 18]
platform: [ubuntu-latest]
runs-on: ${{ matrix.platform }}
steps:
- name: Get code
uses: actions/checkout@v4
- name: Install dependencies
run: npm install
- name: Instal SAP CDS-DK
run: npm i -g @sap/cds-dk ts-node
- name: Instal Globally typescript
run: npm i -g typescript
- name: Start server and start e2e tests
run: npm run test:e2e