mirror of
https://github.com/directus/directus.git
synced 2026-02-17 17:02:11 -05:00
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>
39 lines
800 B
YAML
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
|