Skip to content

Commit eae4ccb

Browse files
committed
Add first pass at the script
1 parent ac88c78 commit eae4ccb

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.github/remove_pytest.bash

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
#!/usr/bin/env cached-nix-shell
2+
#! nix-shell -i bash -p fd
3+
4+
5+
# Find modules that have a tests directory
6+
tested=$(fd main.nf.test modules/)
7+
8+
for module in $tested; do
9+
clean=$(dirname $module | sed 's|tests||')
10+
rmdir "tests/${clean}"
11+
done

0 commit comments

Comments
 (0)