Skip to content

New python tests

New python tests #3

Workflow file for this run

name: Python workflow Tests
on:
push:
paths:
- biobb_wf_ligand_parameterization/python/workflow.env.yml
workflow_dispatch:
jobs:
detect-files:
name: Detect Changed Files
runs-on: ubuntu-latest
outputs:
changed_files: ${{ steps.detect_changes.outputs.files }}
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Detect changed files
id: detect_changes
run: |
git diff --name-only ${{ github.event.before }} ${{ github.sha }} > changed_files.txt
echo "::set-output name=files::$(cat changed_files.txt)"
shell: bash
biobb_wf_ligand_parameterization:
#if: github.event_name == 'push' && contains(github.event.head_commit.message, 'biobb_wf_ligand_parameterization/python/workflow.env.yml')
needs: detect-files
if: contains(needs.detect-files.outputs.changed_files, 'biobb_wf_ligand_parameterization/python/workflow.env.yml')
uses: ./.github/workflows/common-python.yaml
with:
wf_name: biobb_wf_ligand_parameterization