Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: use github action instead of custom python #306

Merged
merged 5 commits into from
Apr 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
File renamed without changes.
317 changes: 0 additions & 317 deletions .github/python/find_changed_files.py

This file was deleted.

26 changes: 7 additions & 19 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,35 +27,23 @@ jobs:
name: Check for changes
runs-on: ubuntu-latest
outputs:
nf_test_files: ${{ steps.list.outputs.nf_test_files }}
nf_test_files: ${{ steps.list.outputs.components }}
steps:
- uses: actions/setup-python@v4
with:
python-version: "3.11"
architecture: "x64"

- uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Install gitpython find changed files
run: |
python -m pip install --upgrade pip
pip install gitpython pyyaml

- name: List nf-test files
id: list
run: |
echo nf_test_files=$(python \
.github/python/find_changed_files.py \
-t pipeline workflow process \
--head_ref ${{ github.sha }} \
--base_ref origin/${{ github.base_ref }} \
) >> $GITHUB_OUTPUT
uses: adamrtalbot/[email protected]
with:
head: ${{ github.sha }}
base: origin/${{ github.base_ref }}
include: .github/include.yaml

- name: print list of nf-test files
run: |
echo ${{ steps.list.outputs.nf_test_files }}
echo ${{ steps.list.outputs.components }}

test:
name: ${{ matrix.nf_test_files }} ${{ matrix.profile }} NF-${{ matrix.NXF_VER }}
Expand Down
Loading