Skip to content

Commit

Permalink
Update test.yml Actions workflow to use pip to build package
Browse files Browse the repository at this point in the history
  • Loading branch information
althonos committed Jul 8, 2024
1 parent 307e8af commit 7b4c4ec
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,11 @@ jobs:
- name: Show Python build environment
run: python -m sysconfig
- name: Update pip
run: python -m pip install -U pip wheel setuptools
run: python -m pip install -U pip wheel meson-python ninja
- name: Install Python requirements
run: python -m pip install -r .github/workflows/requirements.txt
- name: Build C extension
run: python setup.py build_ext --inplace --debug -j0
run: python -m pip install --no-build-isolation --editable . -vv -C setup-args='-Dbuildtype=debug'
- name: Install test requirements
run: python -m pip install -r pyhmmer/tests/requirements.txt
- name: Test with coverage
Expand Down Expand Up @@ -160,11 +160,11 @@ jobs:
- name: Show Python build environment
run: arch -x86_64 python -m sysconfig
- name: Update pip
run: python -m pip install -U pip wheel setuptools
run: python -m pip install -U pip wheel meson-python ninja
- name: Install Python requirements
run: python -m pip install -r .github/workflows/requirements.txt
- name: Build C extension
run: arch -x86_64 python setup.py build_ext --inplace --debug
run: python -m pip install --no-build-isolation --editable . -vv -C setup-args='-Dbuildtype=debug'
- name: Install test requirements
run: python -m pip install -r pyhmmer/tests/requirements.txt
if: matrix.python-impl == 'CPython'
Expand Down

0 comments on commit 7b4c4ec

Please sign in to comment.