Skip to content

Commit

Permalink
chore: Include unit tests to GH Actions (#446)
Browse files Browse the repository at this point in the history
  • Loading branch information
gkarat authored Oct 26, 2022
1 parent 133dfa2 commit ac98e81
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 14 deletions.
12 changes: 0 additions & 12 deletions .github/workflows/cypress.yml

This file was deleted.

14 changes: 14 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: Tests runner
on:
push:
branches: ['master', 'master-stable', 'prod-beta', 'prod-stable']
pull_request:
branches: ['master']
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: npm ci
- run: npm run test
- run: npm run coverage
2 changes: 0 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ jobs:
include:
- stage: Lint
script: npm run lint
- stage: Test
script: npm run test:jest && npm run coverage
- stage: Deploy
if: type = push AND fork = false
script: npm run build && curl -sSL https://raw.githubusercontent.com/RedHatInsights/insights-frontend-builder-common/master/src/bootstrap.sh | bash -s
Expand Down

0 comments on commit ac98e81

Please sign in to comment.