fix DAG building when checkpoints are included #17
This file contains hidden or 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: cutting_cookies | |
| on: | |
| push: | |
| pull_request: | |
| jobs: | |
| test_projects: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| projects: [bioproject, nfproject, pyproject] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: 3.12 | |
| cache: 'pip' | |
| - name: install_cookiecutter | |
| run: | | |
| pip install cookiecutter ruff | |
| - name: ${ matrix.projects } | |
| run: | | |
| cookiecutter --directory ${{ matrix.projects }} . --no-input | |
| - name: run_bioproject | |
| if: matrix.projects == 'bioproject' | |
| run: | | |
| python another_project/run.py | |
| test -f another_project/Results_another_project/README.txt || (echo "README.txt not created." && exit 1) | |
| - name: lint | |
| run: | |
| ruff check another_project |