Skip to content

update

update #72

Workflow file for this run

name: UberTest
on:
push:
jobs:
linux:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.9','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 execution
run: |
cinema --headless examples/theater/TableWriteHeadlessExample.py
- name: Test results
run: |
python -m pytest -s testing/QueryWriteTest.py
python -m pytest -s testing/SqliteDatabaseReader.py
python -m pytest -s testing/TableQueryTest.py
macos:
strategy:
matrix:
python-version: ['3.9','3.10','3.11']
os-version: [macos-12, macos-13]
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 execution
run: |
cinema --headless examples/theater/TableWriteHeadlessExample.py
- name: Test results
run: |
python -m pytest -s testing/QueryWriteTest.py
python -m pytest -s testing/SqliteDatabaseReader.py
python -m pytest -s testing/TableQueryTest.py
# windows:
# strategy:
# matrix:
# python-version: [3.9,'3.10','3.11']
# os-version: [windows-latest]
# 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 script
# run: |
# cinema --version
# cinema --help