Skip to content

Commit 37e90bb

Browse files
Merge pull request #1 from rchougule/reverse-proxy-with-https
Github Actions setup for unit tests. Logo and badge addition in README
2 parents 8828e6d + 2970e3c commit 37e90bb

File tree

2 files changed

+41
-0
lines changed

2 files changed

+41
-0
lines changed

.github/workflows/unit-tests.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: 'unit-tests'
2+
on:
3+
pull_request:
4+
paths:
5+
- './**'
6+
- '.github/workflows/unit-tests*'
7+
push:
8+
paths:
9+
- './**'
10+
- '.github/workflows/unit-tests*'
11+
12+
jobs:
13+
unit-tests:
14+
runs-on: ${{ matrix.operating-system }}
15+
strategy:
16+
matrix:
17+
operating-system: [ubuntu-latest, macos-latest]
18+
steps:
19+
- uses: actions/checkout@v2
20+
21+
- name: Set Node.js 4.9.1
22+
uses: actions/setup-node@master
23+
with:
24+
node-version: 4.9.1
25+
26+
- name: npm install
27+
working-directory: ./
28+
run: npm install
29+
30+
- name: Lint and Unit tests
31+
working-directory: ./
32+
run: npm run test

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,13 @@
11
## Requests Debugger
2+
3+
<p align="center">
4+
<a href="https://browserstack.com"><img alt="BrowserStack Logo" src="https://d98b8t1nnulk5.cloudfront.net/production/images/layout/logo-invoice.svg"></a>
5+
</p>
6+
7+
<p align="center">
8+
<a href="https://github.com/browserstack/requests-debugger/actions?query=workflow%3Aunit-tests"><img alt="unit-tests build status" src="https://github.com/browserstack/requests-debugger/workflows/unit-tests/badge.svg"></a>
9+
</p>
10+
211
### Tool for debugging client side failure of requests, leading to requests getting dropped or not reaching BrowserStack.
312

413
## Features

0 commit comments

Comments
 (0)