From cffb30849cb7e1f31057c7ce78b100dbe77c6f1f Mon Sep 17 00:00:00 2001 From: Johannes Buchner Date: Tue, 5 Dec 2023 14:11:10 +0100 Subject: [PATCH] [ci] avoid calling setup.py --- .github/workflows/test.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index c03d362..7f3c53e 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -72,7 +72,7 @@ jobs: - name: Install PyMultiNest run: | - python setup.py install --user + python -m pip install . - name: Test imports run: | @@ -84,7 +84,7 @@ jobs: run: | # do not test pycuba, it is broken rm tests/pycuba_test.py - coverage run setup.py test + coverage run pytest coverage report coverage-lcov python pymultinest_demo_minimal.py