Skip to content

Commit

Permalink
Prepare artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
dfornika committed Feb 8, 2024
1 parent d2f2c17 commit b6c0bdc
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/scripts/install_conda.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash
set -eo pipefail

echo "Install Miniconda .." >> artifacts/test_artifact.log
echo "Install Miniconda .." >> artifacts/test.log

export PATH=/opt/miniconda3/bin:$PATH

Expand Down
2 changes: 1 addition & 1 deletion .github/scripts/install_nextflow.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

set -eo pipefail

echo Install Nextflow .. >> artifacts/test_artifact.log
echo Install Nextflow .. >> artifacts/test.log

wget -qO- https://get.nextflow.io | bash

Expand Down
10 changes: 10 additions & 0 deletions .github/scripts/prepare_artifacts.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#!/bin/bash

set -eo pipefail

echo "Prepare artifacts .." >> artifacts/test.log

mkdir -p artifacts/fastq

mv .github/data/fastq/*.fastq.gz artifacts/fastq

2 changes: 2 additions & 0 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ jobs:
run: bash .github/scripts/simulate_reads.sh
- name: Run Pipeline
run: bash .github/scripts/run_pipeline.sh
- name: Prepare Artifacts
run: bash .github/scripts/prepare_artifacts.sh
- name: Upload Artifacts
uses: actions/upload-artifact@v4
if: always()
Expand Down

0 comments on commit b6c0bdc

Please sign in to comment.