Skip to content

Bump knex from 2.3.0 to 2.4.0 in /tests/integrations #238

Bump knex from 2.3.0 to 2.4.0 in /tests/integrations

Bump knex from 2.3.0 to 2.4.0 in /tests/integrations #238

name: Integration Tests
on:
pull_request:
branches:
- master
- develop
- rc
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [14.x, 16.x, 17.x, 18.x, 19.x]
database: [mysql8, mysql57, "postgres"]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Start database containers
run: docker-compose -f "./tests/integrations/docker-compose.${{ matrix.database }}.yml" up -d --build
- name: Build the Axe API
run: npm install && npm run build
- name: Install integration test dependencies
run: cd tests/integrations && npm install && npm run build && cp -R scenarios/tests build/scenarios/tests && ls -all
- run: npm ci
- name: Testing all scenarions
run: npm run test:${{ matrix.database }}