Skip to content

Commit 81d6f77

Browse files
author
rhliang
committed
Further tweaks to the configuration.
1 parent d935007 commit 81d6f77

File tree

2 files changed

+24
-15
lines changed

2 files changed

+24
-15
lines changed
Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -22,26 +22,26 @@ jobs:
2222
fail-fast: false
2323
matrix:
2424
os: [ubuntu-latest]
25-
python-version: ["3.10", "3.11", "3.12"]
25+
python-version: ["3.10", "3.11", "3.12", "3.x"]
2626

2727
steps:
28-
- uses: actions/checkout@v3
28+
- uses: actions/checkout@v4
2929

3030
- name: Set up Python ${{ matrix.python-version }}
3131
uses: actions/setup-python@v4
3232
with:
3333
python-version: ${{ matrix.python-version }}
3434

3535
- name: Install dependencies
36-
run:
37-
- apt update && apt install yamllint
38-
- pip install uv
36+
run: |
37+
apt update && apt install yamllint
38+
pip install uv
3939
4040
- name: Check code
41-
run:
42-
- yamllint .
43-
- uv run mypy --check .
44-
- uv run ruff check .
41+
run: |
42+
yamllint .
43+
uv run mypy --check .
44+
uv run ruff check .
4545
4646
- name: Run tests
4747
run: uv run pytest --junitxml=pytest.xml

pyproject.toml

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -76,14 +76,23 @@ path = "src/easyhla/__about__.py"
7676

7777
[tool.hatch.build]
7878
include = [
79-
"src/easyhla/*.py",
80-
"src/easyhla/default_data/*.csv",
81-
"src/easyhla/default_data/hla_nuc.fasta.mtime",
79+
"src/easyhla/__about__.py",
80+
"src/easyhla/__init__.py",
81+
"src/easyhla/__main__.py",
82+
"src/easyhla/easyhla.py",
83+
"src/easyhla/interpret_from_json_lib.py",
84+
"src/easyhla/interpret_from_json.py",
85+
"src/easyhla/models.py",
86+
"src/easyhla/py.typed",
87+
"src/easyhla/update_alleles.py",
88+
"src/easyhla/update_frequency_file_lib.py",
89+
"src/easyhla/update_frequency_file.py",
90+
"src/easyhla/utils.py",
91+
"src/easyhla/default_data/hla_standards.yaml",
92+
"src/easyhla/default_data/hla_frequencies.csv",
8293
]
8394
exclude = [
84-
"tools",
85-
"tests/output",
86-
"tests/input",
95+
"tests",
8796
]
8897
skip-excluded-dirs = true
8998
directory = "output"

0 commit comments

Comments
 (0)