Skip to content

Commit

Permalink
feat(git-actions): testing framework finish set up
Browse files Browse the repository at this point in the history
  • Loading branch information
Swati Mukherjee authored and Swati Mukherjee committed Aug 12, 2024
1 parent f6dacfc commit 0867ec8
Showing 1 changed file with 5 additions and 14 deletions.
19 changes: 5 additions & 14 deletions .github/workflows/run-automation-test.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,10 @@
name: Run Cypress Tests

on:
# Comment the lines below to trigger this workflow on pull requests to the main branch
push:
branches:
- swamu/526-web-testing-automation
# Uncomment the lines below to trigger this workflow on pull requests to the main branch
# pull_request:
# branches:
# - main
# Uncomment the lines below to trigger this workflow on pull requests to the main branch
# on:
# pull_request:
# branches:
# - main

jobs:
cypress:
Expand Down Expand Up @@ -49,11 +45,6 @@ jobs:
echo HYPERSWITCH_CLIENT_URL = $HS_Client_Url >> .env
# Creates a .env file with environment variables needed for the application

- name: Create .env file
working-directory: ./Hyperswitch-React-Demo-App
run: echo "My HYPERSWITCH_PUBLISHABLE_KEY is $Pub_Key"
# Prints the Hyperswitch publishable key (This step seems redundant and might be removed if not needed)

- name: Build and start local server
run: |
npm run re:build && npm start &
Expand Down

0 comments on commit 0867ec8

Please sign in to comment.