No mac os for now #261
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: testing | |
on: [push, pull_request] | |
jobs: | |
pytest: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: ["3.10", "3.11", "3.12"] | |
# os: [ubuntu-22.04, macos-latest] | |
os: [ubuntu-22.04] | |
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.2' | |
file: 'raxml-ng_v1.2.2_linux_x86_64.zip' | |
token: ${{ secrets.GITHUB_TOKEN }} | |
if: matrix.os == 'ubuntu-22.04' | |
- name: Extract zip | |
run: unzip -o raxml-ng_*.zip -d /usr/local/bin && chmod +x /usr/local/bin/raxml-ng | |
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 |