mirror of
https://github.com/Kong/insomnia
synced 2024-11-08 06:39:48 +00:00
45861b6393
* Hacked insomnia lib package to get Insomnia's networking in tests * Some small tweaks * Got it mostly working * Tweak * Fix * Fix pkg * Fix some things * Add comment * Comment out log * Some tweaks after doing a self code review * Fix test * Update app name for `insomnia-send-request` * Update package-lock * Update package-locks * Fix tests * Add gitignore * Fix tests hopefully * Fix accidental dep deletions * Fix tests again * Mock for all tests * Update tests again * Don't compile for Electron for tests * Update release scripts to disable tests
42 lines
839 B
YAML
42 lines
839 B
YAML
name: Test
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- develop
|
|
- master
|
|
pull_request:
|
|
types:
|
|
- opened
|
|
- synchronize
|
|
|
|
jobs:
|
|
Windows:
|
|
name: Test Windows
|
|
runs-on: windows-latest
|
|
steps:
|
|
- name: Checkout branch
|
|
uses: actions/checkout@v1
|
|
- name: Install NodeJS
|
|
uses: actions/setup-node@v1
|
|
with:
|
|
node-version: 10
|
|
- name: Bootstrap packages
|
|
run: npm run bootstrap
|
|
- name: Run tests
|
|
run: npm test
|
|
Linux:
|
|
name: Test Linux
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout branch
|
|
uses: actions/checkout@v1
|
|
- name: Install NodeJS
|
|
uses: actions/setup-node@v1
|
|
with:
|
|
node-version: 10
|
|
- name: Bootstrap packages
|
|
run: npm run bootstrap
|
|
- name: Run tests
|
|
run: npm test
|