diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f873b99a..164f1e40 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -75,7 +75,7 @@ jobs: - name: Run PyRS tests run: | conda activate PyRS - xvfb-run --server-args="-screen 0 640x480x24" -a pytest --cov=pyrs --cov-report=xml --cov-report=term tests + xvfb-run --server-args="-screen 0 640x480x24" -a python -m pytest --cov=pyrs --cov-report=xml --cov-report=term tests - name: Upload coverage to Codecov uses: codecov/codecov-action@v1 diff --git a/environment.yml b/environment.yml index a78475b0..c994595a 100644 --- a/environment.yml +++ b/environment.yml @@ -7,10 +7,12 @@ dependencies: - anaconda-client - boa - mantidworkbench>=6.8.20231213 +- qtpy - pip -- pytest=7.2.1 -- pytest-qt=4.2.0 -- pytest-cov=4.0.0 +- pyqt=5.15,<6 +- pytest +- pytest-cov +- pytest-qt - uncertainties - vtk - flake8