Skip to content

Commit

Permalink
feat: updated api collection
Browse files Browse the repository at this point in the history
  • Loading branch information
Homoakin619 committed Aug 24, 2024
1 parent 51e9ecb commit 81ef503
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/scheduled-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Scheduled Test

on:
schedule:
- cron: '* * * * *'
- cron: '*/15 * * * *'

jobs:
build:
Expand Down
6 changes: 3 additions & 3 deletions qa/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ const fs = require('fs');
const path = require('path');
require('dotenv').config();

const resultFilePath = path.resolve(__dirname, 'result.json');
const resultFilePath = path.resolve(__dirname, 'boilerplate_report.json');

const postmanApiKey = process.env.POSTMAN_API_KEY;

Expand All @@ -15,9 +15,9 @@ const runTasks = async () => {
const newmanProcess = spawn('npx', [
'newman',
'run',
`https://api.getpostman.com/collections/37678338-b29374aa-a7b1-43e9-bdc8-fc3bcf39871b?apikey=${postmanApiKey}`,
`https://api.getpostman.com/collections/37678338-3145218a-98a5-49f6-87be-18ec1ca6e0db?apikey=${postmanApiKey}`,
'-e',
`https://api.getpostman.com/environments/37678787-5f6cbeff-c9d9-44c3-b670-7887cf48fc12?apikey=${postmanApiKey}`,
`https://api.getpostman.com/environments/37678338-5b07d664-877b-40d0-ae8f-fddc791af401?apikey=${postmanApiKey}`,
'--reporters',
'cli,json',
'--reporter-json-export',
Expand Down

0 comments on commit 81ef503

Please sign in to comment.