File tree 5 files changed +53
-6271
lines changed
5 files changed +53
-6271
lines changed Original file line number Diff line number Diff line change
1
+ # This is a basic workflow to help you get started with Actions
2
+
3
+ name : Integration-Tests
4
+
5
+ # Controls when the workflow will run
6
+ on :
7
+ # Triggers the workflow on push or pull request events but only for the "master" branch
8
+ push :
9
+ branches :
10
+ - ms/**
11
+ - gb/**
12
+ - jl/**
13
+ - mx/**
14
+ - ja/**
15
+ pull_request :
16
+ branches :
17
+ - dev
18
+
19
+ # A workflow run is made up of one or more jobs that can run sequentially or in parallel
20
+ jobs :
21
+ # This workflow contains a single job called "build"
22
+ build :
23
+ # The type of runner that the job will run on
24
+ runs-on : ubuntu-latest
25
+ timeout-minutes : 3
26
+
27
+ # Steps represent a sequence of tasks that will be executed as part of the job
28
+ steps :
29
+ # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
30
+ - uses : actions/checkout@v3
31
+
32
+ - name : Start Containers
33
+ run : docker-compose -f "docker-compose.yml" up -d --build
34
+
35
+ - name : Install node
36
+ uses : actions/setup-node@v1
37
+ with :
38
+ node-version : 16.x
39
+
40
+ - name : Install dependencies
41
+ run : npm install
42
+
43
+ - name : Sleep for 30 seconds
44
+ run : sleep 30s
45
+ shell : bash
46
+
47
+ - name : Run tests
48
+ run : npm run test
49
+
50
+ - name : Stop containers
51
+ if : always()
52
+ run : docker-compose -f "docker-compose.yml" down
Original file line number Diff line number Diff line change 1
- const { default : waitForExpect } = require ( 'wait-for-expect' ) ;
2
1
const ksqldb = require ( '../ksqldb/ksqldb' ) ;
3
2
// Pre-requisite: start a docker container
4
3
/* To add to README: Prior to running test with 'npm test', please start the ksqlDB
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments