Skip to content

V3

V3 #92

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:

Check failure on line 40 in .github/workflows/tests.yml

View workflow run for this annotation

GitHub Actions / Test

Invalid workflow file

The workflow is not valid. .github/workflows/tests.yml (Line: 40, Col: 3): The workflow must contain at least one job with no dependencies.
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