1
0
Fork 0
mirror of synced 2024-06-27 02:20:35 +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: test-server:
runs-on: ubuntu-latest runs-on: ubuntu-latest
env:
DEBUG: testcontainers,testcontainers:exec,testcontainers:build,testcontainers:pull
steps: steps:
- name: Checkout repo - name: Checkout repo
uses: actions/checkout@v4 uses: actions/checkout@v4
@ -151,7 +153,17 @@ jobs:
with: with:
node-version: 20.x node-version: 20.x
cache: yarn 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 - run: yarn --frozen-lockfile
- name: Test server - name: Test server
run: | run: |
if ${{ env.USE_NX_AFFECTED }}; then if ${{ env.USE_NX_AFFECTED }}; then