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 393bfae commit 3ca9259
Showing 1 changed file with 1 addition and 16 deletions.
17 changes: 1 addition & 16 deletions .github/actions/nf-test-action/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,12 +58,6 @@ runs:
python -m pip install cryptography
nextflow secrets set SENTIEON_AUTH_DATA $(python3 tests/modules/nf-core/sentieon/license_message.py encrypt --key "$SENTIEON_ENCRYPTION_KEY" --message "$SENTIEON_LICENSE_MESSAGE")
- name: Clone test-datasets
uses: actions/checkout@v4
with:
repository: nf-core/test-datasets
path: test-datasets

- name: Run nf-test
shell: bash
env:
Expand All @@ -83,17 +77,8 @@ runs:
ls -la
if [ -f "tests/main.nf.test" ]; then
echo "Test file found. Setting up environment..."
# Create or modify nf-test.config
echo "profiles = ['${{ inputs.profile }}']" > nf-test.config
echo "config = ['$GITHUB_WORKSPACE/tests/config/nextflow.config']" >> nf-test.config
echo "modules_testdata_base_path = '$GITHUB_WORKSPACE/test-datasets'" >> nf-test.config
echo "nf-test.config contents:"
cat nf-test.config
echo "Test file found. Running nf-test..."
echo "Running nf-test..."
nf-test test \
--profile=${{ inputs.profile }} \
--tap=test.tap \
Expand Down

0 comments on commit 3ca9259

Please sign in to comment.