New python tests #10
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: Main Workflow Using Reusable Workflow | ||
on: | ||
push: | ||
paths: | ||
- biobb_wf_ligand_parameterization/python/workflow.env.yml | ||
- biobb_wf_md_setup/python/workflow.env.yml | ||
workflow_dispatch: | ||
jobs: | ||
filter-files: | ||
name: Filter Files | ||
runs-on: self-hosted | ||
outputs: | ||
biobb_wf_ligand_parameterization_changed: ${{ steps.filter.outputs.biobb_wf_ligand_parameterization }} | ||
biobb_wf_md_setup_changed: ${{ steps.filter.outputs.biobb_wf_md_setup }} | ||
steps: | ||
- name: Filter Changed Files | ||
id: filter | ||
uses: dorny/paths-filter@v2 | ||
with: | ||
filters: | | ||
biobb_wf_ligand_parameterization: | ||
- "biobb_wf_ligand_parameterization/python/workflow.env.yml" | ||
biobb_wf_md_setup: | ||
- "biobb_wf_md_setup/python/workflow.env.yml" | ||
tests: | ||
name: Run Tests | ||
strategy: | ||
matrix: | ||
include: | ||
- wf_name: biobb_wf_ligand_parameterization/python/workflow.env.yml | ||
changed: ${{ needs.filter-files.outputs.biobb_wf_ligand_parameterization_changed }} | ||
- wf_name: biobb_wf_md_setup/python/workflow.env.yml | ||
changed: ${{ needs.filter-files.outputs.biobb_wf_md_setup_changed }} | ||
needs: filter-files | ||
if: matrix.changed == 'true' | ||
uses: ./.github/workflows/reusable-test.yaml | ||
Check failure on line 39 in .github/workflows/main.yaml GitHub Actions / .github/workflows/main.yamlInvalid workflow file
|
||
with: | ||
wf_name: ${{ matrix.wf_name }} | ||
# biobb_wf_ligand_parameterization: | ||
# name: biobb_wf_ligand_parameterization | ||
# needs: filter-files | ||
# uses: ./.github/workflows/reusable.yaml | ||
# if: needs.filter-files.outputs.biobb_wf_ligand_parameterization_changed == 'true' | ||
# with: | ||
# wf_name: biobb_wf_ligand_parameterization | ||
# biobb_wf_md_setup: | ||
# name: biobb_wf_md_setup | ||
# needs: filter-files | ||
# uses: ./.github/workflows/reusable.yaml | ||
# if: needs.filter-files.outputs.biobb_wf_md_setup_changed == 'true' | ||
# with: | ||
# wf_name: biobb_wf_md_setup |