mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-27 13:39:44 -08:00
58e4e56302
* build: Check test files * build: update test file checker glob pattern * build: ignore changed files in test folders * build: fix gh workflow * build: update gh events in workflow * build: fix gh workflow * build: fix gh workflow action script path * build: fix gh workflow script * build: fix gh workflow script * build: fix gh workflow script * build: fix gh workflow script * build: fix gh workflow script * build: update gh actions * build: update gh actions * build: test change file without test * Revert "build: test change file without test" This reverts commit73f5c544c5
. * build: test change file that already has test * build: fix action script * Revert "build: test change file that already has test" This reverts commit21be611abf
. * build: update script * build: test checking with test file change * Revert "build: test checking with test file change" This reverts commit995b64f6ba
. * build: change file with no testable content * build: use typescript to traverse a file * Revert "build: change file with no testable content" This reverts commit05974b67c7
. * build: change file with no testable content * Revert "build: change file with no testable content" This reverts commit187cc57291
. * build: change file with testable content * Revert "build: change file with testable content" This reverts commitce716119b7
. * build: add vue file without test * Revert "build: add vue file without test" This reverts commit756f28a373
. * build: add vue file with test * Revert "build: add vue file with test" This reverts commit8022b112fc
. * build: gather all missing tests at once * build: allow job to fail * build: update error message
31 lines
594 B
YAML
31 lines
594 B
YAML
name: Check Test Files
|
|
|
|
on:
|
|
pull_request:
|
|
branches:
|
|
- '**'
|
|
- '!release/*'
|
|
pull_request_target:
|
|
branches:
|
|
- master
|
|
|
|
jobs:
|
|
check-tests:
|
|
runs-on: ubuntu-latest
|
|
continue-on-error: true
|
|
steps:
|
|
- name: Checkout code
|
|
uses: actions/checkout@v3
|
|
with:
|
|
fetch-depth: 0
|
|
|
|
- name: Use Node.js
|
|
uses: actions/setup-node@v3
|
|
with:
|
|
node-version: 18.x
|
|
|
|
- run: npm install --prefix=.github/scripts --no-package-lock
|
|
|
|
- name: Check for test files
|
|
run: node .github/scripts/check-tests.mjs
|