forked from ManageIQ/ui-components
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Part of ManageIQ/manageiq#21620
- Loading branch information
Showing
6 changed files
with
57 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
name: CI | ||
|
||
on: | ||
push: | ||
pull_request: | ||
workflow_dispatch: | ||
schedule: | ||
- cron: '0 0 * * *' | ||
|
||
jobs: | ||
ci: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
node-version: | ||
- '14' | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Set up system | ||
run: bin/before_install | ||
- name: Set up Node | ||
uses: actions/setup-node@v2 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
# TODO: Uncomment this for yarn 3 | ||
# cache: yarn | ||
# registry-url: https://npm.manageiq.org/ | ||
- name: Prepare tests | ||
run: bin/setup | ||
- name: Run tests | ||
run: bin/ci | ||
- name: Report code coverage | ||
if: ${{ github.ref == 'refs/heads/master' && matrix.node-version == '14' }} | ||
continue-on-error: true | ||
run: scripts/.coverage.sh |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#!/bin/bash | ||
|
||
set -e | ||
|
||
if [ -n "$CI" ]; then | ||
npm install --global yarn | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,7 @@ | ||
#!/usr/bin/env bash | ||
# must fail when test fails | ||
#!/bin/bash | ||
|
||
set -e | ||
|
||
yarn install | ||
yarn run build-dev | ||
yarn run test | ||
yarn run gettext:extract |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
#!/bin/bash | ||
|
||
set -e | ||
|
||
if [ -n "$CI" ]; then | ||
yarn global add typings webpack karma typescript | ||
fi | ||
|
||
yarn install |