Skip to content

Merge pull request #90 from cinemascience/plot #62

Merge pull request #90 from cinemascience/plot

Merge pull request #90 from cinemascience/plot #62

name: TableQueryTest
on:
push:
jobs:
linux:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.9]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Test Environment
run: |
python -m pip install --upgrade pip
python -m pip install pytest pytest-xvfb
- name: Dependencies
run: |
python setup.py install
- name: Test query
run: |
python -m pytest -s testing/TableQueryTest.py
macos:
strategy:
matrix:
python-version: [3.9]
os-version: [macos-11, macos-12]
runs-on: ${{ matrix.os-version }}
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
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 query
run: |
python -m pytest -s testing/TableQueryTest.py
# windows:
# runs-on: windows-latest
# strategy:
# matrix:
# python-version: [3.9]
# steps:
# - uses: actions/checkout@v3
# - name: Set up Python ${{ matrix.python-version }}
# uses: actions/setup-python@v4
# with:
# python-version: ${{ matrix.python-version }}
# - uses: msys2/setup-msys2@v2
# with:
# msystem: MINGW64
# release: false
# install: mingw-w64-x86_64-mesa
# - name: Test Environment
# shell: pwsh
# run: |
# $env:GLCONTEXT_WIN_LIBGL = "C:\msys64\mingw64\bin\opengl32.dll"
# - name: Dependencies
# run: |
# python setup.py install
# - name: Test using ModernGL
# run: |
# python -m pytest -s testing/RenderTest.py