Run Nala Manually #5
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: Run Nala Manually | |
on: | |
workflow_dispatch: | |
inputs: | |
tags: | |
description: 'Test scenario tags, if empty all tests will run. i.e., @marquee' | |
required: false | |
type: string | |
platform: | |
description: 'Platform to run tests on; select one, options: [ubuntu-latest, windows-latest, macos-latest]' | |
required: true | |
type: string | |
jobs: | |
action: | |
name: Running tests | |
runs-on: ${{ inputs.platform }} | |
steps: | |
- name: Check out repository | |
uses: actions/checkout@v3 | |
- name: Run Nala ${{ inputs.platform }} | |
uses: ./ | |
env: | |
labels: ${{ inputs.tags }} | |
IMS_EMAIL: ${{ secrets.IMS_EMAIL }} | |
IMS_PASS: ${{ secrets.IMS_PASS }} | |
- name: Persist JSON Artifact | |
uses: actions/upload-artifact@v3 | |
if: always() | |
with: | |
name: nala-results | |
path: nala-results.json | |
retention-days: 30 |