removing headless execution #497
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: RenderTest | |
on: | |
push: | |
jobs: | |
linux: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: ['3.10', '3.11'] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Test Environment | |
run: | | |
python -m pip install --upgrade pip | |
sudo apt-get install libglu1-mesa-dev xvfb | |
python -m pip install pytest pytest-xvfb | |
- name: Dependencies | |
run: | | |
python setup.py install | |
- name: Test using ModernGL | |
run: | | |
python -m pytest -s testing/RenderTest.py | |
macos: | |
strategy: | |
matrix: | |
python-version: ['3.10', '3.11'] | |
os-version: [macos-13, macos-14] | |
runs-on: ${{ matrix.os-version }} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Dependencies | |
run: | | |
python -m pip install --upgrade pip setuptools | |
python -m pip install pytest | |
python setup.py install | |
- name: Test using ModernGL | |
run: | | |
python -m pytest -s testing/RenderTest.py |