Skip to content

Commit

Permalink
troubleshooting nf-test
Browse files Browse the repository at this point in the history
  • Loading branch information
anwarMZ committed Nov 27, 2024
1 parent 83003e8 commit 230ea04
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/actions/nf-test-action/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,15 +77,21 @@ runs:
ls -la
if [ -f "tests/main.nf.test" ]; then
echo "Test file found. Running nf-test..."
echo "Test file found. Modifying test files..."
# Modify the test files to use the correct path
sed -i 's|$modules_testdata_base_path|https://raw.githubusercontent.com/nf-core/test-datasets/modules/data|g' tests/main.nf.test
echo "Modified test file contents:"
cat tests/main.nf.test
echo "Running nf-test..."
nf-test test \
--profile=${{ inputs.profile }} \
--tap=test.tap \
--verbose \
--ci \
--filter process,workflow \
-c "params.modules_testdata_base_path = 'https://raw.githubusercontent.com/nf-core/test-datasets/modules/data/'" \
tests/main.nf.test
echo "nf-test execution completed. test.tap contents:"
Expand Down

0 comments on commit 230ea04

Please sign in to comment.