Skip to content

New python tests

New python tests #10

Workflow file for this run

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

View workflow run for this annotation

GitHub Actions / .github/workflows/main.yaml

Invalid workflow file

error parsing called workflow ".github/workflows/main.yaml" -> "./.github/workflows/reusable-test.yaml" : failed to fetch workflow: workflow was not found.
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