mirror of
https://github.com/directus/directus.git
synced 2026-01-10 09:17:58 -05:00
Trigger blackbox tests with label (#24517)
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
This commit is contained in:
13
.github/workflows/blackbox-pr.yml
vendored
Normal file
13
.github/workflows/blackbox-pr.yml
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
name: Check
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
types:
|
||||
- synchronize
|
||||
- labeled
|
||||
|
||||
jobs:
|
||||
blackbox-tests:
|
||||
name: Blackbox Tests
|
||||
if: contains(github.event.pull_request.labels.*.name, 'Run Blackbox')
|
||||
uses: ./.github/workflows/blackbox.yml
|
||||
1
.github/workflows/blackbox.yml
vendored
1
.github/workflows/blackbox.yml
vendored
@@ -11,6 +11,7 @@ on:
|
||||
- package.json
|
||||
- pnpm-lock.yaml
|
||||
- .github/workflows/blackbox.yml
|
||||
workflow_call:
|
||||
|
||||
concurrency:
|
||||
group: blackbox-${{ github.ref }}
|
||||
|
||||
@@ -1,3 +1,8 @@
|
||||
# Blackbox Tests
|
||||
|
||||
See https://docs.directus.io/contributing/tests.html#running-blackbox-tests.
|
||||
|
||||
## Run Blackbox Tests in Pull Requests
|
||||
|
||||
Full blackbox tests run automatically when changes are merged into `main`. To trigger blackbox tests on a pull request,
|
||||
add the `Run Blackbox` label.
|
||||
|
||||
Reference in New Issue
Block a user