Skip to content

Commit feb0f50

Browse files
committed
added github actions
1 parent 04b8b9b commit feb0f50

File tree

4 files changed

+53
-6270
lines changed

4 files changed

+53
-6270
lines changed
Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
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

ksqljsTest.js

Lines changed: 0 additions & 197 deletions
This file was deleted.

0 commit comments

Comments
 (0)