-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #24 from bjornwallner/mapping
DockQ v2.0
- Loading branch information
Showing
38 changed files
with
1,990 additions
and
16,960 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
name: CI | ||
|
||
on: [push, pull_request, workflow_dispatch] | ||
|
||
env: | ||
MIN_COVERAGE_REQUIRED: 80 | ||
|
||
|
||
jobs: | ||
test: | ||
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 10 | ||
defaults: | ||
run: | ||
shell: bash -l {0} | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Test outputs | ||
run: | | ||
python -m pip install . | ||
python -m pip install coverage | ||
bash run_test.sh | ||
- name: Test with old biopython | ||
run: | | ||
python -m pip install biopython==1.79 | ||
bash run_test.sh | ||
- name: Coverage | ||
run: | | ||
coverage report | ||
test $(coverage report | grep TOTAL | awk '{ print $4 }' | tr -d "%") -ge $MIN_COVERAGE_REQUIRED |
Oops, something went wrong.