Skip to content

Add integration tests #40

Add integration tests

Add integration tests #40

Workflow file for this run

name: Build check
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x, 18.x, 20.x]
steps:
- uses: actions/checkout@v1
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: npm install, build, and test
run: |
npm ci
npm test
env:
CI: true
integration_test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Integration test with MySQL image
uses: docker://givery/track-mysql:2.3.2
with:
entrypoint: mocha
args: integration_test/mysql.test.js