Skip to content

Commit

Permalink
fix: fixed tests workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
helloanoop committed Jan 29, 2024
1 parent a0beefa commit a7253f1
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Unit Tests
name: Tests
on:
push:
branches: [main]
Expand All @@ -23,8 +23,13 @@ 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 build test --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 All @@ -39,9 +44,8 @@ jobs:
- uses: actions/checkout@v4
- name: Install dependencies and run tests
run: |
cd sanity/collection
npm install @usebruno/cli -g
bru run --env Prod --output junit.xml --format junit
cd packages/bruno-tests/collection
node ../../bruno-cli/bin/bru.js run --env Prod --output junit.xml --format junit
- name: Publish Test Report
uses: dorny/test-reporter@v1
Expand Down

0 comments on commit a7253f1

Please sign in to comment.