Skip to content

Don't run tests under xvfb-run unnecessarily #27

Don't run tests under xvfb-run unnecessarily

Don't run tests under xvfb-run unnecessarily #27

Workflow file for this run

name: Test with PyPI
on: [pull_request, workflow_dispatch]
env:
PYTHONUNBUFFERED: 1
jobs:
# Test against PyPI packages
test-with-pypi:
strategy:
matrix:
os: ['ubuntu-latest', 'macos-latest', 'windows-latest']
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']
runs-on: ${{ matrix.os }}
steps:
- name: Clone the SciMath source
uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install package under test
run: python -m pip install .
- name: Run tests
run: |
mkdir testdir
cd testdir
python -X faulthandler -m unittest discover -v scimath