Skip to content

Commit

Permalink
Update run-standalone-mfos-tests.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
kdivya153 committed Sep 18, 2024
1 parent 1ac4847 commit 6f4d2e1
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions .github/workflows/run-standalone-mfos-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,41 +15,41 @@ jobs:
uses: actions/checkout@v2

# Run Core tests
# - name: Run Core tests and create assets
# env:
# EVENT_NAME: ${{ github.event_name }}
# GITHUB_REF: ${{ github.ref }}
# PR_HEAD_REF: ${{ github.event.pull_request.head.ref }}
# INTENT: ${{ secrets.INTENT }}
# run: |
# ./.github/workflows/utils.sh runTests core

# Run Manage tests
- name: Run Manage tests and create assets
- name: Run Core tests and create assets
env:
EVENT_NAME: ${{ github.event_name }}
GITHUB_REF: ${{ github.ref }}
PR_HEAD_REF: ${{ github.event.pull_request.head.ref }}
INTENT: ${{ secrets.INTENT }}
run: |
./.github/workflows/utils.sh runTests manage
./.github/workflows/utils.sh runTests core
# Run Discovery tests
- name: Run Discovery tests and create assets
# Run Manage tests
- name: Run Manage tests and create assets
env:
EVENT_NAME: ${{ github.event_name }}
GITHUB_REF: ${{ github.ref }}
PR_HEAD_REF: ${{ github.event.pull_request.head.ref }}
INTENT: ${{ secrets.INTENT }}
run: |
./.github/workflows/utils.sh runTests discovery
./.github/workflows/utils.sh runTests manage
# Run Discovery tests
# - name: Run Discovery tests and create assets
# env:
# EVENT_NAME: ${{ github.event_name }}
# GITHUB_REF: ${{ github.ref }}
# PR_HEAD_REF: ${{ github.event.pull_request.head.ref }}
# INTENT: ${{ secrets.INTENT }}
# run: |
# ./.github/workflows/utils.sh runTests discovery

- name: Compress all reports
run: |
mkdir -p ${{ github.workspace }}/combined-reports
cp ${{ github.workspace }}/report/core/report.json ${{ github.workspace }}/combined-reports/core-report.json
cp ${{ github.workspace }}/report/manage/report.json ${{ github.workspace }}/combined-reports/manage-report.json
cp ${{ github.workspace }}/report/discovery/report.json ${{ github.workspace }}/combined-reports/discovery-report.json
# cp ${{ github.workspace }}/report/discovery/report.json ${{ github.workspace }}/combined-reports/discovery-report.json
tar -czvf combined-reports.tar.gz -C ${{ github.workspace }}/combined-reports .

# Upload combined report as an artifact
Expand Down

0 comments on commit 6f4d2e1

Please sign in to comment.