1
0
Fork 0
mirror of synced 2024-06-18 18:35:37 +12:00

Pull images separately from tests, enable testcontainers debug logs.

This commit is contained in:
Sam Rose 2024-03-25 11:00:13 +00:00
parent 6bd6ee779b
commit 79d1b22cae
No known key found for this signature in database

View file

@ -138,6 +138,8 @@ jobs:
test-server:
runs-on: ubuntu-latest
env:
DEBUG: testcontainers,testcontainers:exec,testcontainers:build,testcontainers:pull
steps:
- name: Checkout repo
uses: actions/checkout@v4
@ -151,7 +153,17 @@ jobs:
with:
node-version: 20.x
cache: yarn
- name: Pull testcontainers images
run: |
docker pull mcr.microsoft.com/mssql/server:2022-latest
docker pull mysql:8.3
docker pull postgres:16.1-bullseye
docker pull mongo:7.0-jammy
docker pull mariadb:lts
- run: yarn --frozen-lockfile
- name: Test server
run: |
if ${{ env.USE_NX_AFFECTED }}; then