Files
directus/.github/workflows/blackbox-pr.yml
Pascal Jufer 15b91dee34 Blackbox tests restructuring (#18122)
Co-authored-by: Azri Kahar <42867097+azrikahar@users.noreply.github.com>
Co-authored-by: ian <licitdev@gmail.com>
Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
2023-04-11 18:28:37 +02:00

39 lines
800 B
YAML

name: Blackbox Tests
on:
pull_request:
branches:
- main
paths:
- api/**
- tests/blackbox/**
- packages/**
- package.json
- pnpm-lock.yaml
- .github/workflows/blackbox-pr.yml
concurrency:
group: blackbox-pr-${{ github.ref }}
cancel-in-progress: true
env:
NODE_OPTIONS: --max_old_space_size=6144
jobs:
test:
name: SQLite Only
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Prepare
uses: ./.github/actions/prepare
- name: Start services
run:
docker compose -f tests/blackbox/docker-compose.yml up auth-saml redis minio minio-mc -d --quiet-pull --wait
- name: Run tests
run: TEST_DB=sqlite3 pnpm run test:blackbox