Skip to content

Psharma/update readme #10

Psharma/update readme

Psharma/update readme #10

Workflow file for this run

name: Run Tests
on:
pull_request:
branches: [master, main]
workflow_call:
jobs:
test:
runs-on: ubuntu-latest
services:
singlestore:
image: ghcr.io/singlestore-labs/singlestoredb-dev
ports:
- 3306:3306
env:
SINGLESTORE_LICENSE: ${{ secrets.SINGLESTORE_LICENSE }}
ROOT_PASSWORD: ${{ secrets.SINGLESTORE_PASSWORD }}
SINGLESTORE_VERSION: 8.9
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20.x'
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Run all tests
run: bash run-all-tests.sh
env:
MYSQL_HOST: 127.0.0.1
MYSQL_PORT: 3306
MYSQL_USER: root
MYSQL_PASSWORD: ${{ secrets.SINGLESTORE_PASSWORD }}
MYSQL_DATABASE: test