Update README.md #352
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] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ConorMacBride/install-package@v1 | |
with: | |
brew: bowtie2 freebayes mafft | |
apt: bowtie2 freebayes mafft | |
- 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 |