Skip to content

Commit 5a91795

Browse files
authored
Merge pull request #2 from labgem/add_pypi_release_wf
Add pypi release wf
2 parents 2723faa + 496c20a commit 5a91795

File tree

3 files changed

+13
-8
lines changed

3 files changed

+13
-8
lines changed

.github/workflows/pangbank_ci.yml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,20 +12,22 @@ on:
1212

1313
jobs:
1414
build:
15-
defaults:
16-
run:
17-
shell: bash -el {0}
1815
runs-on: ${{ matrix.os }}
1916
strategy:
2017
fail-fast: false
2118
matrix:
22-
os: ['ubuntu-latest', 'macos-13']
23-
python-version: [3.10, 3.13]
19+
os: ['ubuntu-latest', 'macos-latest']
20+
python-version: ['3.10', '3.12']
2421

2522
steps:
2623
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
2724
- uses: actions/checkout@v4
28-
25+
26+
- name: Set up Python ${{ matrix.python-version }}
27+
uses: actions/setup-python@v5
28+
with:
29+
python-version: ${{ matrix.python-version }}
30+
2931
- name: Install PanGBank-cli
3032
run: |
3133
pip install .

pangbank_cli/main.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,10 @@ def match_pangenome(
323323
rich_help_panel="Match parameters",
324324
),
325325
],
326-
download: bool = Download,
326+
download: Annotated[
327+
bool,
328+
Download,
329+
] = False,
327330
outdir: Annotated[
328331
Path,
329332
Outdir,

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ dependencies = [
3939
"rich>=10.0.0",
4040
"pydantic>=2.10.0,<3.0.0",
4141
"pandas>=2.0.0,<3.0.0",
42-
"pangbank-api@git+ssh://git@github.com/labgem/PanGBank-api",
42+
"pangbank-api>=0.1.1",
4343
]
4444

4545

0 commit comments

Comments
 (0)