Skip to content

Fix fetching step

Fix fetching step #205

Workflow file for this run

name: testing
on: [push, pull_request]
jobs:
pytest:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10", "3.11"]
os: [ubuntu-22.04, macos-latest]
steps:
- uses: actions/checkout@v4
- uses: ConorMacBride/install-package@v1
with:
brew: bowtie2 bcftools bedtools raxml-ng
apt: bowtie2 bcftools bedtools
- name: Fetch GitHub Release Assets
uses: dsaltares/fetch-gh-release-asset@master
with:
repo: 'amkozlov/raxml-ng'
version: 'tags/1.2.1'
file: 'raxml-ng_v1.2.1_linux_x86_64.zip'
token: ${{ secrets.GITHUB_TOKEN }}
if: matrix.os == 'ubuntu-22.04'
- name: Extract zip
run: unzip raxml-ng_v1.2.1_linux_x86_64.zip -d /usr/local/bin
if: matrix.os == 'ubuntu-22.04'
- name: Install Python
uses: actions/setup-python@v4
- name: Install poetry
uses: abatilo/actions-poetry@v2
- name: Install the project dependencies
run: poetry install --only test -C meteor
- name: Run the automated tests (for example)
run: poetry run -C meteor pytest --cov=meteor --cov-report xml
- name: Upload coverage reports to Codecov
uses: codecov/[email protected]
with:
token: ${{ secrets.CODECOV_TOKEN }}
slug: metagenopolis/meteor