Skip to content

Commit 883a584

Browse files
Switch to hatch (#15)
* Switch from Poetry to Hatch * Add @flying-sheep as an author * CI --------- Co-authored-by: Philipp A <[email protected]>
1 parent 1b6b212 commit 883a584

File tree

3 files changed

+58
-1617
lines changed

3 files changed

+58
-1617
lines changed

.github/workflows/pytest.yml

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -11,25 +11,17 @@ jobs:
1111
- name: Checkout
1212
uses: actions/checkout@v3
1313

14-
- name: Install Poetry
15-
run: |
16-
pipx install poetry
17-
1814
- name: Setup Python
19-
id: setup_py
2015
uses: actions/setup-python@v4
2116
with:
2217
python-version: "3.10"
23-
cache: poetry
18+
cache: pip
2419

25-
- name: Poetry install
26-
run: |
27-
poetry lock --check # check that lockfile is up to date
28-
poetry install --with test --extras annlibs
20+
- name: Install project and dependencies
21+
run: pip install .[annlibs,tests]
2922

3023
- name: Run test suite
31-
run: |
32-
poetry run pytest -v --color=yes
24+
run: pytest -v --color=yes
3325

3426
check: # TODO: replace with pre-commit.ci
3527
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)