Merge pull request #84 from hashicorp/chore-ci-test-reduction

Chore ci test reduction
This commit is contained in:
Susmitha Girumala authored and GitHub committed 2020-07-09 09:22:25 -04:00
commit a02c7c656b
6 files changed
+29 -4

No files matched your search

+24
View File
@@ -7,10 +7,16 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/cache@v2
id: cache
with:
path: '**/node_modules'
key: ${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}
- uses: actions/setup-node@v1
with:
node-version: '12.x'
- run: yarn install
if: steps.cache.outputs.cache-hit != 'true'
- run: yarn run compliance:licenses
audit:
@@ -18,10 +24,16 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/cache@v2
id: cache
with:
path: '**/node_modules'
key: ${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}
- uses: actions/setup-node@v1
with:
node-version: '12.x'
- run: yarn install
if: steps.cache.outputs.cache-hit != 'true'
- run: yarn run compliance:audit
lint:
@@ -29,10 +41,16 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/cache@v2
id: cache
with:
path: '**/node_modules'
key: ${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}
- uses: actions/setup-node@v1
with:
node-version: '12.x'
- run: yarn install
if: steps.cache.outputs.cache-hit != 'true'
- run: yarn lint
test:
@@ -40,8 +58,14 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/cache@v2
id: cache
with:
path: '**/node_modules'
key: ${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}
- uses: actions/setup-node@v1
with:
node-version: '12.x'
- run: yarn install
if: steps.cache.outputs.cache-hit != 'true'
- run: yarn test
+1
View File
@@ -9,6 +9,7 @@ This top-level repository provides limited common tasks, such as installation
and commit assistance. However, most tasks must be executed from within a
subproject, e.g. running or testing.
<!-- START doctoc generated TOC please keep comment here to allow auto update -->
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
**Table of Contents** *generated with [DocToc](https://github.com/thlorenz/doctoc)*
+1 -1
View File
@@ -3,7 +3,7 @@
module.exports = {
test_page: 'tests/index.html?hidepassed',
disable_watching: true,
launch_in_ci: ['Chrome', 'Firefox'],
launch_in_ci: ['Chrome'],
launch_in_dev: ['Chrome', 'Firefox'],
browser_start_timeout: 120,
browser_args: {
+1 -1
View File
@@ -3,7 +3,7 @@
module.exports = {
test_page: 'tests/index.html?hidepassed',
disable_watching: true,
launch_in_ci: ['Chrome', 'Firefox'],
launch_in_ci: ['Chrome'],
launch_in_dev: ['Chrome', 'Firefox'],
browser_start_timeout: 120,
browser_args: {
+1 -1
View File
@@ -3,7 +3,7 @@
module.exports = {
test_page: 'tests/index.html?hidepassed',
disable_watching: true,
launch_in_ci: ['Chrome', 'Firefox'],
launch_in_ci: ['Chrome'],
launch_in_dev: ['Chrome', 'Firefox'],
browser_start_timeout: 120,
browser_args: {
+1 -1
View File
@@ -1,7 +1,7 @@
module.exports = {
test_page: 'tests/index.html?hidepassed',
disable_watching: true,
launch_in_ci: ['Chrome', 'Firefox'],
launch_in_ci: ['Chrome'],
launch_in_dev: ['Chrome', 'Firefox'],
browser_start_timeout: 120,
browser_args: {