Skip to content

Commit

Permalink
Merge branch 'main' into bugfix/multipart-form-variable-interpolation
Browse files Browse the repository at this point in the history
  • Loading branch information
Its-treason committed Feb 18, 2024
2 parents f7b6838 + bd002ca commit a451252
Show file tree
Hide file tree
Showing 30 changed files with 4,191 additions and 3,510 deletions.
48 changes: 48 additions & 0 deletions .github/workflows/npm-bru-cli.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
name: Bru CLI Tests (npm)

on:
workflow_dispatch:
inputs:
build:
description: 'Test Bru CLI (npm)'
required: true
default: 'true'

# Assign permissions for unit tests to be reported.
# See https://github.com/dorny/test-reporter/issues/168
permissions:
statuses: write
checks: write
contents: write
pull-requests: write
actions: write

jobs:
test:
name: CLI Tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version-file: '.nvmrc'

- name: Install Bru CLI from NPM
run: npm install -g @usebruno/cli

- name: Display Bru CLI Version
run: bru --version

- name: Run tests
run: |
cd packages/bruno-tests/collection
npm install
bru run --env Prod --output junit.xml --format junit
- name: Publish Test Report
uses: dorny/test-reporter@v1
if: success() || failure()
with:
name: Test Report
path: packages/bruno-tests/collection/junit.xml
reporter: java-junit
10 changes: 10 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,16 @@ on:
branches: [main]
pull_request:
branches: [main]

# Assign permissions for unit tests to be reported.
# See https://github.com/dorny/test-reporter/issues/168
permissions:
statuses: write
checks: write
contents: write
pull-requests: write
actions: write

jobs:
unit-test:
name: Unit Tests
Expand Down
4 changes: 0 additions & 4 deletions contributing.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,6 @@ You would need [Node v18.x or the latest LTS version](https://nodejs.org/en/) an

Bruno is being developed as a desktop app. You need to load the app by running the Next.js app in one terminal and then run the electron app in another terminal.

### Dependencies

- NodeJS v18

### Local Development

```bash
Expand Down
Loading

0 comments on commit a451252

Please sign in to comment.