Skip to content

Commit

Permalink
Merge branch 'main' into specify_germline_support
Browse files Browse the repository at this point in the history
  • Loading branch information
northwestwitch authored Jan 29, 2025
2 parents 1b1dfb7 + 14a117e commit 4d40f1e
Show file tree
Hide file tree
Showing 4 changed files with 78 additions and 20 deletions.
43 changes: 27 additions & 16 deletions .github/workflows/test_n_coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,34 +5,45 @@ on: [pull_request]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [ '3.9' ]
steps:
- uses: actions/checkout@v4
- name: Install poetry
run: |
curl -O -sSL https://install.python-poetry.org/install-poetry.py
python install-poetry.py -y
echo "PATH=${HOME}/.poetry/bin:${PATH}" >> $GITHUB_ENV
rm install-poetry.py
- name: Check out git repository
uses: actions/checkout@v4

- name: Set up Python ${{ matrix.python-version }}
- name: Set up python
id: setup-python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: 'poetry'
python-version: '3.9'

# install & configure poetry
- name: Install Poetry
uses: snok/install-poetry@v1
with:
version: 1.7.1
virtualenvs-create: true
virtualenvs-in-project: true
installer-parallel: true

# load cached venv if cache exists
- name: Load cached venv
id: cached-poetry-dependencies
uses: actions/cache@v4
with:
path: .venv
key: venv-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/poetry.lock') }}

- name: Install dependencies
run: |
poetry env use ${{ matrix.python-version }}
poetry install
if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true'
run: poetry install --no-interaction

- name: Print python versions
run: |
python -V
poetry run python -V
- name: Install project
run: poetry install --no-interaction

- name: Test with pytest
run: poetry run pytest --cov=./ --cov-report=xml

Expand Down
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
## [unreleased]
### Changed
- Improve README and endpoint descriptions specifying that `tsv_2_json` and `csv_2_json` endpoints support only coversion for germline submission files
### Fixed
- GitHub action to use poetry v.1.7.1

## [2.7.1]
### Fixed
Expand Down
Loading

0 comments on commit 4d40f1e

Please sign in to comment.