Skip to content

chore(deps): update mariadb docker tag to v10.11.11 #200

chore(deps): update mariadb docker tag to v10.11.11

chore(deps): update mariadb docker tag to v10.11.11 #200

Workflow file for this run

name: Test
on:
push:
branches:
- master
pull_request:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [10, 12, 14]
env:
NODE_VERSION: ${{ matrix.node-version }}
services:
mysql:
image: mysql:5.7.10
ports:
# Another version of MySQL is installed on the vm and already uses the port 3306.
- 3308:3306
env:
MYSQL_ROOT_PASSWORD: admin
MYSQL_USER: test
MYSQL_PASSWORD: test
MYSQL_DATABASE: test
mariadb:
image: mariadb:10.11.10
ports:
- 3307:3306
env:
MYSQL_ROOT_PASSWORD: admin
MYSQL_USER: test
MYSQL_PASSWORD: test
MYSQL_DATABASE: test
postgres:
image: postgres:9.6.1
ports:
- 5432:5432
env:
POSTGRES_USER: test
POSTGRES_PASSWORD: test
POSTGRES_DB: test
mongodb:
image: mongo:3.4.1
ports:
- 27017:27017
redis:
image: redis:4.0.14
ports:
- 6380:6379
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- name: Install global dependencies (codecov)
run: npm install -g codecov
- name: Install project dependencies
run: npm install
- name: Run unit tests
run: npm run test