add comments, tweak relevance #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: test_run_qna | |
on: | |
push: | |
paths: | |
- ".github/workflows/test_run_qna.yaml" | |
- "CMD/bigfix_run_qna_win.bat" | |
- "bash/bigfix_run_qna_debian.sh" | |
- "bash/bigfix_run_qna_macos.sh" | |
branches: | |
- "**" | |
env: | |
relevance: pathnames of (files of it; folders of it) of folders ("/tmp";"/Windows/Temp") | |
jobs: | |
test_run_qna: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest, macos-latest, windows-latest] | |
steps: | |
- uses: actions/checkout@v3 | |
# https://stackoverflow.com/questions/57946173/github-actions-run-step-on-specific-os | |
- name: run qna windows | |
if: runner.os == 'Windows' | |
# https://github.com/jgstew/tools/blob/master/CMD/bigfix_run_qna_win.bat | |
run: echo '${{ env.relevance }}' | CMD /C CMD\bigfix_run_qna_win.bat | |
- name: run qna linux | |
if: runner.os == 'Linux' | |
# https://github.com/jgstew/tools/blob/master/bash/bigfix_run_qna_debian.sh | |
run: bash bash/bigfix_run_qna_debian.sh '${{ env.relevance }}' | |
- name: run qna mac | |
if: runner.os == 'macOS' | |
# https://github.com/jgstew/tools/blob/master/bash/bigfix_run_qna_macos.sh | |
run: bash bash/bigfix_run_qna_macos.sh '${{ env.relevance }}' |