mirror of
https://github.com/usebruno/bruno.git
synced 2025-03-15 07:18:29 +01:00
fix: fixed tests workflow
This commit is contained in:
parent
a0beefa9bc
commit
a7253f1579
12
.github/workflows/tests.yml
vendored
12
.github/workflows/tests.yml
vendored
@ -1,4 +1,4 @@
|
||||
name: Unit Tests
|
||||
name: Tests
|
||||
on:
|
||||
push:
|
||||
branches: [main]
|
||||
@ -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
|
||||
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user