Skip to content

Commit

Permalink
Don't run tests under xvfb-run unnecessarily (#185)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
mdickinson authored Mar 8, 2024
1 parent e4351b2 commit 69953b0
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions .github/workflows/test-with-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 69953b0

Please sign in to comment.