Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix the taxonomy tests #39

Merged
merged 20 commits into from
May 7, 2024
Merged
20 changes: 15 additions & 5 deletions .github/workflows/validateTaxonomy.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
on:
push:
branches: [master, dev]
branches: [master, dev, build-taxonomy]
name: Validate taxonomy

jobs:
Expand All @@ -18,13 +18,23 @@ jobs:
perl-version: ${{ matrix.perl }}
multi-thread: "true"
- name: checkout my repo
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
path: Kalamari

- name: validate taxonomy
- name: update PATH
run: |
echo $GITHUB_WORKSPACE/Kalamari/bin >> $GITHUB_PATH
echo $PATH
echo ""
cat $GITHUB_PATH
- name: build taxonomy
run: |
perl Kalamari/bin/validateTaxonomy.pl Kalamari/src
echo $PATH
bash Kalamari/bin/buildTaxonomy.sh
ls -lhR Kalamari/share/kalamari-*/taxonomy
#- name: validate taxonomy
# run: |
# perl Kalamari/bin/validateTaxonomy.pl Kalamari/share/kalamari-*/taxonomy/nodes.dmp Kalamari/share/kalamari-*/taxonomy/names.dmp
- name: matching taxids
run: |
echo "Making sure that all taxids in chromosomes.tsv and plasmids.tsv are present in nodes.tsv and names.tsv"
Expand Down