From 9208e7088211efd58b59f2f9c9c40179afdadf5c Mon Sep 17 00:00:00 2001 From: Mehdi Seifi Date: Fri, 8 Nov 2024 20:34:51 +0100 Subject: [PATCH] trying to fix run cmd using conda --- .github/workflows/test_deploy_conda.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/test_deploy_conda.yml b/.github/workflows/test_deploy_conda.yml index 29e3c75..cabd12c 100644 --- a/.github/workflows/test_deploy_conda.yml +++ b/.github/workflows/test_deploy_conda.yml @@ -29,6 +29,7 @@ jobs: - uses: actions/checkout@v4 # these libraries enable testing on Qt on linux - uses: tlambert03/setup-qt-libs@v1 + - uses: aganders3/headless-gui@v1 - uses: conda-incubator/setup-miniconda@v3.1.0 with: auto-update-conda: true @@ -50,18 +51,17 @@ jobs: - name: Install Windows OpenGL if: runner.os == 'Windows' run: | + conda init conda activate ff git clone --depth 1 https://github.com/pyvista/gl-ci-helpers.git powershell gl-ci-helpers/appveyor/install_opengl.ps1 - name: Run Tests - uses: aganders3/headless-gui@v1 - with: - run: | - conda init - conda activate ff - python -m pip install .[dev] - pytest -v --color=yes --cov=featureforest --cov-report=xml -m "not slow" + run: | + conda init + conda activate ff + python -m pip install .[dev] + pytest -v --color=yes --cov=featureforest --cov-report=xml -m "not slow" - name: Coverage uses: codecov/codecov-action@v4