Skip to content

Commit

Permalink
test admixture with coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
dramanica committed Dec 9, 2024
1 parent a92f614 commit 891c595
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 7 deletions.
7 changes: 0 additions & 7 deletions .github/workflows/R-CMD-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,15 +54,8 @@ jobs:
wget https://dalexander.github.io/admixture/binaries/admixture_linux-1.3.0.tar.gz
tar -xvzf admixture_linux-1.3.0.tar.gz
cd ..
#mkdir -p /home/runner/.local/bin
#cp "$PWD/admixture/dist/admixture_linux-1.3.0/admixture" "/usr/local/bin/admixture"
echo "$PWD/admixture/dist/admixture_linux-1.3.0" >> "$GITHUB_PATH"
- name: Test ADMIXTURE for linux
if: matrix.config.os == 'ubuntu-latest'
run: |
echo "$PATH"
admixture --help
- uses: r-lib/actions/check-r-package@v2
with:
Expand Down
10 changes: 10 additions & 0 deletions .github/workflows/test-coverage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,16 @@ jobs:
extra-packages: any::covr, any::xml2
needs: coverage

- name: Get ADMIXTURE for linux
run: |
mkdir admixture
cd admixture
wget https://dalexander.github.io/admixture/binaries/admixture_linux-1.3.0.tar.gz
tar -xvzf admixture_linux-1.3.0.tar.gz
cd ..
echo "$PWD/admixture/dist/admixture_linux-1.3.0" >> "$GITHUB_PATH"
- name: Test coverage
run: |
cov <- covr::package_coverage(
Expand Down
3 changes: 3 additions & 0 deletions _pkgdown.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ reference:
- gt_save
- gt_load
- gt_get_file_names
- gt_order_loci
- gt_update_backingfile
- title: "Show"
desc: "Functions to view loci and genotype information stored in a `gen_tibble`."
contents:
Expand All @@ -22,6 +24,7 @@ reference:
- show_ploidy
- count_loci
- augment_loci
- is_loci_table_ordered
- title: "Selecting loci"
desc: "Functions to select loci from a `gen_tibble`, either based on loci information, or genotype information."
contents:
Expand Down

0 comments on commit 891c595

Please sign in to comment.