Updated the importer to include the new ACMG expected fields along wi⦠#1165
Workflow file for this run
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: Python CI | |
on: [push, pull_request, workflow_dispatch] | |
env: | |
PYLINT_CONFIG: .pylintrc | |
YAPF_CONFIG: .style.yapf | |
ROSALUTION_KEY: not-a-real-key-but-need-to-resolve | |
jobs: | |
python-ci: | |
runs-on: ubuntu-22.04 | |
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name | |
strategy: | |
fail-fast: false | |
matrix: | |
python-version: ["3.8"] | |
defaults: | |
run: | |
working-directory: ./backend | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python-version }} | |
cache: 'pip' | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi | |
- name: Lint with Pylint | |
run: | | |
# Stop the build if there are Python linting errors | |
pylint --rcfile $PYLINT_CONFIG src tests | |
- name: Formatting with Pylint | |
run: | | |
yapf -r . --diff --style $YAPF_CONFIG | |
- name: Unit test with pytest | |
run: | | |
pytest --cov=src --cov-fail-under=80 --cov-branch --cov-report=term tests/unit/ | |
- name: Integration test with pytest | |
run: | | |
pytest -s tests/integration |