Skip to content

Commit

Permalink
fix: fixed github test workflow issues
Browse files Browse the repository at this point in the history
  • Loading branch information
helloanoop committed Jan 29, 2024
1 parent ad1b095 commit 65b76b7
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 6 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,14 @@ jobs:
node-version-file: '.nvmrc'
- name: Install dependencies
run: npm ci --legacy-peer-deps

# build libraries
- name: Build libraries
run: |
npm run build --workspace=packages/bruno-common
npm run build --workspace=packages/bruno-query
# test
- name: Test Package bruno-query
run: npm run test --workspace=packages/bruno-query
- name: Test Package bruno-lang
Expand All @@ -24,13 +32,8 @@ jobs:
run: npm run test --workspace=packages/bruno-schema
- name: Test Package bruno-app
run: npm run test --workspace=packages/bruno-app

# bruno-js needs bruno-query to be built first
- name: Build Package bruno-query
run: npm run build --workspace=packages/bruno-query
- name: Test Package bruno-js
run: npm run test --workspace=packages/bruno-js

- name: Test Package bruno-common
run: npm run test --workspace=packages/bruno-common
- name: Test Package bruno-cli
Expand Down
4 changes: 3 additions & 1 deletion packages/bruno-tests/collection/environments/Prod.bru
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,7 @@ vars {
host: https://testbench-sanity.usebruno.com
bearer_auth_token: your_secret_token
basic_auth_password: della
foo: bar
env.var1: envVar1
env-var2: envVar2
bark: {{process.env.PROC_ENV_VAR}}
}

0 comments on commit 65b76b7

Please sign in to comment.