Skip to content

Add cypress testing to docker test and as a workflow for heroku #3

Add cypress testing to docker test and as a workflow for heroku

Add cypress testing to docker test and as a workflow for heroku #3

Workflow file for this run

# This is a basic workflow to help you get started with Actions
name: Test Heroku with cypress
# Controls when the workflow will run
on:
push:
branches:
- master
pull_request:
branches: [master]
workflow_dispatch:
permissions:
contents: read
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
test-heroku:
name: run tests
runs-on: ubuntu-latest
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
- uses: actions/checkout@v4
- name: Run Tests
run: |
cd src/test/e2e && npx cypress run --config-file src/test/K8s-tests/cypress.config.js && minikube delete
- uses: actions/upload-artifact@v4
if: success() || failure()
with:
name: e2e results
path: src/test/e2e/cypress/reports/mochawesome/