industry ai prompts - fix prompts with spaces and duplicate param in discharge letter #4503
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: assets-validation | |
on: | |
push: | |
branches: | |
- release | |
pull_request: | |
branches: | |
- main | |
paths: | |
- assets/** | |
workflow_dispatch: | |
inputs: | |
asset_dirs: | |
description: Asset directories | |
default: assets | |
required: true | |
env: | |
default_asset_dirs: assets | |
scripts_azureml_assets_dir: scripts/azureml-assets | |
scripts_assets_dir: scripts/azureml-assets/azureml/assets | |
scripts_release_dir: scripts/release | |
asset_config_filename: asset.yaml | |
defaults: | |
run: | |
shell: bash | |
jobs: | |
validate: | |
name: Validate | |
runs-on: ubuntu-latest | |
steps: | |
- name: Clone branch | |
uses: actions/checkout@v3 | |
- name: Get changed files | |
id: changed-files | |
uses: tj-actions/changed-files@v35 | |
with: | |
files_separator: ',' | |
separator: ',' | |
- name: Use Python 3.8 or newer | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '>=3.8' | |
- name: Install dependencies | |
run: pip install -e $scripts_azureml_assets_dir | |
- name: Validate assets | |
run: python -u $scripts_assets_dir/validate_assets.py -i "${{ github.event.inputs.asset_dirs || env.default_asset_dirs }}" -a $asset_config_filename -c "${{ steps.changed-files.outputs.all_modified_files }}" -n -I -C -b | |
- name: Validate source tree | |
run: python -u $scripts_assets_dir/validate_tree.py -i "${{ github.event.inputs.asset_dirs || env.default_asset_dirs }}" | |
- name: Check test coverage | |
run: | | |
mkdir -p ${{ runner.temp }}/test_coverage | |
python -u $scripts_release_dir/test_file_convert.py -i "${{ github.event.inputs.asset_dirs || env.default_asset_dirs }}" -r ${{ runner.temp }}/test_coverage |