Skip to content

Running for all 3

Running for all 3 #308

name: MFOS standalone sanity report for Core/Manage/Discovery
on:
pull_request:
types:
- opened
- synchronize
branches: [ next ]
jobs:
RunStandaloneTests:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
Run Core tests

Check failure on line 18 in .github/workflows/run-standalone-mfos-tests.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/run-standalone-mfos-tests.yml

Invalid workflow file

You have an error in your yaml syntax on line 18
- 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
# 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 manage
# - 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
# tar -czvf combined-reports.tar.gz -C ${{ github.workspace }}/combined-reports .
- name: Upload report.json as an artifact
uses: actions/upload-artifact@v4
with:
name: report
path: ${{ github.workspace }}/report
- name: Get results from report.json
run: |
./.github/workflows/utils.sh getResults
# # Upload Core report as an artifact
# - name: Upload Core report.json as an artifact
# uses: actions/upload-artifact@v4
# with:
# name: core-report
# path: ${{ github.workspace }}/report/core-report.json
# # Get results from Core report.json
# - name: Get results from Core report.json
# run: |
# ./.github/workflows/utils.sh getResults
# # Upload Manage report as an artifact
# - name: Upload Manage report.json as an artifact
# uses: actions/upload-artifact@v4
# with:
# name: manage-report
# path: ${{ github.workspace }}/report/manage-report.json
# # Get results from Manage report.json
# - name: Get results from Manage report.json
# run: |
# ./.github/workflows/utils.sh getResults
# # Upload Discovery report as an artifact
# - name: Upload Discovery report.json as an artifact
# uses: actions/upload-artifact@v4
# with:
# name: discovery-report
# path: ${{ github.workspace }}/report/discovery-report.json
# # Get results from Discovery report.json
# - name: Get results from Discovery report.json
# run: |
# ./.github/workflows/utils.sh getResults