Skip to content

Commit

Permalink
Add Cypress to GitHub Actions pipeline as a new job
Browse files Browse the repository at this point in the history
  • Loading branch information
aatuny committed Dec 15, 2023
1 parent 7fc41b3 commit 9d1b5b4
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/kb-node-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,20 @@ jobs:
with:
args: '.'

cypress-run:
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Cypress run
uses: cypress-io/github-action@v6
with:
record: false # Do not record tests to Cypress Cloud
config-file: cypress.config.js
build: npm run build
start: npm run start:cypress-server
wait-on: 'http://localhost:8080'

openshift-webhook:
name: OpenShift webhook for image builder
needs: [build-node-versions, njsscan]
Expand Down

0 comments on commit 9d1b5b4

Please sign in to comment.