mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-28 23:26:00 +00:00
run perspectives test on CI
This commit is contained in:
11
.github/workflows/run-tests.yaml
vendored
11
.github/workflows/run-tests.yaml
vendored
@@ -31,6 +31,11 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
cd packages/filterparser
|
cd packages/filterparser
|
||||||
yarn test:ci
|
yarn test:ci
|
||||||
|
- name: Datalib (perspective) tests
|
||||||
|
if: always()
|
||||||
|
run: |
|
||||||
|
cd packages/datalib
|
||||||
|
yarn test:ci
|
||||||
- uses: tanmen/jest-reporter@v1
|
- uses: tanmen/jest-reporter@v1
|
||||||
if: always()
|
if: always()
|
||||||
with:
|
with:
|
||||||
@@ -43,6 +48,12 @@ jobs:
|
|||||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
result-file: packages/filterparser/result.json
|
result-file: packages/filterparser/result.json
|
||||||
action-name: Filter parser test results
|
action-name: Filter parser test results
|
||||||
|
- uses: tanmen/jest-reporter@v1
|
||||||
|
if: always()
|
||||||
|
with:
|
||||||
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
result-file: packages/datalib/result.json
|
||||||
|
action-name: Datalib (perspectives) test results
|
||||||
|
|
||||||
services:
|
services:
|
||||||
postgres:
|
postgres:
|
||||||
|
|||||||
@@ -6,6 +6,7 @@
|
|||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "tsc",
|
"build": "tsc",
|
||||||
"test": "jest",
|
"test": "jest",
|
||||||
|
"test:ci": "jest --json --outputFile=result.json --testLocationInResults",
|
||||||
"start": "tsc --watch"
|
"start": "tsc --watch"
|
||||||
},
|
},
|
||||||
"files": [
|
"files": [
|
||||||
|
|||||||
Reference in New Issue
Block a user