This repository has been archived by the owner on Mar 19, 2024. It is now read-only.
remove dead code #282
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: Local test | |
on: | |
push: | |
branches: [ "master", "my", "devel" ] | |
pull_request: | |
branches: [ "master", "my", "devel" ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install dependencies | |
run: sudo apt-get update && sudo apt-get install -y python3 python3-pip mafft ncbi-blast+ && pip3 install pytest pytest-cov | |
- name: Run build | |
run: pip3 install . | |
- name: Run tests and collect coverage | |
run: pytest -v -m "not overnight" --cov=./bin --cov=./intact --cov=./util | |
- name: Upload coverage to Codecov | |
uses: codecov/codecov-action@v3 | |
env: | |
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} |