Skip to content

Commit

Permalink
Use pip editable mode to build package in .gitlab-ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
althonos committed Jul 8, 2024
1 parent 47c4c31 commit 02017dd
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,10 @@ variables:
paths:
- build
before_script:
- $python -m pip install -U pip
- $python -m pip install -U pip meson-python cython
- $python -m pip install -U -r .github/workflows/requirements.txt
script:
- $python setup.py build_clib --debug
- $python setup.py build_ext --debug --inplace
- $python -m pip install --no-build-isolation --editable . -vv -C setup-args='-Dbuildtype=debug'
- $python -m coverage run -m unittest discover -v

.test-cpython: &test-cpython
Expand Down

0 comments on commit 02017dd

Please sign in to comment.