Skip to content

Commit

Permalink
Merge pull request #15 from jlab/split-tests
Browse files Browse the repository at this point in the history
Split tests
  • Loading branch information
sjanssen2 authored Nov 14, 2024
2 parents aba7771 + 4d1140a commit 4b6cded
Showing 1 changed file with 25 additions and 5 deletions.
30 changes: 25 additions & 5 deletions .github/workflows/github_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,8 @@ jobs:
# with:
# github-token: ${{ secrets.GITHUB_TOKEN }}
# path-to-lcov: "coverage.lcov"
tests-functional:
simulate-data:
runs-on: ubuntu-latest
defaults:
run:
shell: bash -l {0}

steps:
- name: Checkout Repo
Expand All @@ -66,10 +63,33 @@ jobs:
- name: Simulate reads
run: |
marbel --n-species 10 --n-orthogroups 200 --n-samples 5 10 --outdir run_spec10_orth200_samp5-10/
- name: Archive simulation results
uses: actions/upload-artifact@v4
with:
name: simulated data
path: run_spec10_orth200_samp5-10


tests-functional:
needs: simulate-data
runs-on: ubuntu-latest
defaults:
run:
shell: bash -l {0}

steps:
- name: Checkout Repo
uses: actions/checkout@v2
with:
lfs: true
- name: Create conda test-env
run: |
conda create -n marbel-tests scikit-bio
- name: Download simulated data
uses: actions/download-artifact@v4
with:
name: simulated data
path: run_spec10_orth200_samp5-10/
- name: Execute functional tests
run: |
conda init
Expand Down

0 comments on commit 4b6cded

Please sign in to comment.