This commit is contained in:
Martin McKeaveney 2023-02-15 23:43:53 +00:00
parent 6b5128a0bf
commit 9ca6aa8bbc
5 changed files with 11 additions and 4 deletions

View File

@ -23,3 +23,9 @@ jobs:
env:
BUDIBASE_HOST: budicloud.qa.budibase.net
BUDIBASE_ACCOUNTS_URL: https://account-portal.budicloud.qa.budibase.net
- name: Cypress Discord Notify
run: yarn test:notify
env:
WEBHOOK_URL: ${{ secrets.BUDI_QA_WEBHOOK }}
GITHUB_RUN_URL: $GITHUB_SERVER_URL/$GITHUB_REPOSITORY/actions/runs/$GITHUB_RUN_ID

1
qa-core/.gitignore vendored
View File

@ -2,3 +2,4 @@ node_modules/
.env
watchtower-hook.json
dist/
.testReport.json

View File

@ -12,6 +12,7 @@
"test": "env-cmd jest --runInBand --json --outputFile=testResults.json",
"test:watch": "env-cmd jest --watch",
"test:debug": "DEBUG=1 jest",
"test:notify": "node scripts/testResultsWebhook",
"docker:up": "docker-compose up -d",
"docker:down": "docker-compose down",
"api:server:setup": "npm run docker:up && env-cmd ts-node ../packages/builder/ts/setup.ts",

View File

@ -4,7 +4,7 @@ const fetch = require("node-fetch")
const path = require("path")
const fs = require("fs")
const WEBHOOK_URL = process.env.CYPRESS_WEBHOOK_URL
const WEBHOOK_URL = process.env.WEBHOOK_URL
const GIT_SHA = process.env.GITHUB_SHA
const GITHUB_ACTIONS_RUN_URL = process.env.GITHUB_ACTIONS_RUN_URL

File diff suppressed because one or more lines are too long