From 69953b05d9090ee94c36b2b735c9e5451d70ec90 Mon Sep 17 00:00:00 2001 From: Mark Dickinson Date: Fri, 8 Mar 2024 09:58:34 +0000 Subject: [PATCH] Don't run tests under xvfb-run unnecessarily (#185) We seem to be using xvfb-run in the `test-with-pypi.yml` GitHub Action, and it's not clear why. This PR removes it. --- .github/workflows/test-with-pypi.yml | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/.github/workflows/test-with-pypi.yml b/.github/workflows/test-with-pypi.yml index badc4b7..66053ce 100644 --- a/.github/workflows/test-with-pypi.yml +++ b/.github/workflows/test-with-pypi.yml @@ -24,14 +24,7 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install package under test run: python -m pip install . - - name: Run tests (Ubuntu) - if: matrix.os == 'ubuntu-latest' - run: | - mkdir testdir - cd testdir - xvfb-run -a python -X faulthandler -m unittest discover -v scimath - - name: Run tests (not Ubuntu) - if: matrix.os != 'ubuntu-latest' + - name: Run tests run: | mkdir testdir cd testdir