CI #246
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
pull_request: | |
workflow_dispatch: | |
inputs: | |
CONFIG_FILE: | |
description: "CONFIG_FILE" | |
required: true | |
RSS_Feed: | |
description: "RSS_Feed" | |
required: true | |
jobs: | |
CI: | |
name: "CI" | |
runs-on: Windows | |
steps: | |
- name: Check out the GM-TestFramework repo | |
uses: actions/checkout@v3 | |
with: | |
path: GM-TF | |
- run: .\setup.bat | |
working-directory: GM-TF | |
shell: cmd | |
- name: Running Manually | |
if: github.event.inputs.RSS_Feed == '' | |
run: python framework_launcher.py -cf ${{ secrets.CONFIG_FOLDER }}\${{ github.event.inputs.CONFIG_FILE }} -f ${{ github.event.inputs.RSS_Feed }} | |
working-directory: GM-TF | |
continue-on-error: true | |
- name: Running Manually without passing Feed | |
if: github.event_name == 'workflow_dispatch' | |
run: python framework_launcher.py -cf ${{ secrets.CONFIG_FOLDER }}\${{ github.event.inputs.CONFIG_FILE }} | |
working-directory: GM-TF | |
continue-on-error: true | |
- name: Running on PR | |
if: github.event_name == 'pull_request' | |
run: python framework_launcher.py -cf ${{ secrets.CONFIG_FOLDER }}\config_ci.json | |
working-directory: GM-TF | |
continue-on-error: true | |
- name: Upload tests Artifacts | |
uses: actions/upload-artifact@v3 | |
with: | |
name: test_results | |
path: .\GM-TF\workspace\results\tests\ | |
continue-on-error: true | |
- name: Upload summary Artifacts | |
uses: actions/upload-artifact@v3 | |
with: | |
name: summary_file | |
path: .\GM-TF\workspace\summary.json | |
continue-on-error: true |