Skip to content

Commit 756f9a9

Browse files
committed
Wrong python-version
1 parent 3f6503d commit 756f9a9

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

.github/workflows/test.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,12 @@ jobs:
2121
steps:
2222
- run: sudo apt-get install libopenblas-dev gcc
2323
- uses: actions/checkout@v2
24-
- uses: astral-sh/setup-uv@v6
24+
- uses: astral-sh/setup-uv@v7
2525
with:
2626
python-version: ${{ matrix.python-version }}
27-
- run: which python
28-
- run: python --version
29-
- run: uv pip install -r ./requirements.txt --system
30-
- run: pip install .
27+
- run: make env python-version=${{ matrix.python-version }}
28+
# - run: uv pip install -r ./requirements.txt --system
29+
# - run: pip install .
3130
- run: twine --version
3231
- run: which calculate_rmsd
3332
- run: make test python=python

Makefile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
.PHONY: update-format format test test-dist build types upload cov
22

3+
python-version=3.12
4+
35
env=./env
46
python=./${env}/bin/python
57
pytest=./${env}/bin/pytest
@@ -16,7 +18,7 @@ GIT_COMMIT=$(shell git rev-parse --short HEAD)
1618
## Setup
1719

1820
env:
19-
uv venv ${env}
21+
uv venv ${env} --python ${python-version}
2022
uv pip install -r requirements.txt --python ${python}
2123
${python} -m pre_commit install
2224
${python} -m pip install -e .

0 commit comments

Comments
 (0)