Skip to content

Test PR, please ignore #178

Test PR, please ignore

Test PR, please ignore #178

Workflow file for this run

name: Tests
on:
push:
branches: [ develop ]
pull_request:
jobs:
unit:
runs-on: ubuntu-latest
strategy:
matrix:
node_version: [20]
steps:
- uses: actions/checkout@v2
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: "${{ matrix.node_version }}"
- run: yarn --pure-lockfile
- run: yarn test:unit
integration:
runs-on: ubuntu-latest
strategy:
matrix:
node_version: [20]
steps:
- uses: actions/checkout@v2
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: "${{ matrix.node_version }}"
- run: yarn --pure-lockfile
- run: yarn test:integration
integration-postgres:
runs-on: ubuntu-latest
strategy:
matrix:
node_version: [20]
steps:
- uses: actions/checkout@v2
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: "${{ matrix.node_version }}"
- run: yarn --pure-lockfile
- name: Set up PostgreSQL 13
run: |
docker run --detach --publish 5432:5432 \
--env POSTGRES_PASSWORD=pass \
--env POSTGRES_INITDB_ARGS="--lc-collate C --lc-ctype C --encoding UTF8" \
postgres:16
- run: yarn test:postgres