WIP #24
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: test | |
on: | |
push: | |
branches: | |
- before_read_from_file_commit | |
pull_request: | |
branches: | |
- before_read_from_file_commit | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Set up Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: '3.8' | |
- name: Install dependencies | |
run: | | |
sudo apt-get update | |
sudo apt-get install -y samtools | |
sudo apt-get install -y nextflow | |
sudo apt-get install -y tr | |
sudo apt-get install -y gzip | |
- name: Run tests | |
run: | | |
chmod +x run_test.sh | |
./run_test.sh | |
- name: Upload test results | |
if: always() | |
uses: actions/upload-artifact@v2 | |
with: | |
name: test-results | |
path: | | |
${tmp}/test.log.out | |
${tmp}/emseq_metadata_report.html | |
${tmp}/emseq_metadata_timeline.html | |
${tmp}/emseq_metadata_dag.html |