Skip to content

Commit

Permalink
changed somethings
Browse files Browse the repository at this point in the history
  • Loading branch information
Riyagharde committed Jan 15, 2024
1 parent 6f8e250 commit d74c8aa
Showing 1 changed file with 17 additions and 15 deletions.
32 changes: 17 additions & 15 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,38 +8,40 @@ on:
- main

jobs:

cypress-Automation-Tests:
runs-on: ubuntu-latest
steps:
- run: |
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
- run: |
echo The PR was merged
- name: Run generated Cypress Automation scripts
run: |
- name: Run generated Cypress Automation scripts
run: |
pwd
ls
# Ensure the directory exists before navigating to it
test -d /tmp/cypress-umesh && cd /tmp/cypress-umesh || echo "/tmp/cypress-umesh directory does not exist"
ls -lrta /tmp/cypress-umesh
npm run test
- name: Generate report for cypress-
if: ${{ ! cancelled() }}
run: |
- name: Generate report for cypress-
if: ${{ ! cancelled() }}
run: |
cd /tmp/cypress-umesh
npm run generate-merge-report
- name: Install aws-cli
id: install-aws
if: ${{ ! cancelled() }}
run: |
- name: Install aws-cli
id: install-aws
if: ${{ ! cancelled() }}
run: |
curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip"
unzip awscliv2.zip
sudo ./aws/install --update
- name: Upload cypress report folder to S3
if: always()
run: |
- name: Upload cypress report folder to S3
if: always()
run: |
pwd
ls -l /tmp/cypress-umesh/mochawesome-report
timestamp=$(date +"%Y-%m-%d-%H-%M-%S")
Expand Down

0 comments on commit d74c8aa

Please sign in to comment.