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
1 changed files with 12 additions and 0 deletions

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