Skip to content

Merge branch 'main' of https://github.com/eth-ait/aitviewer #27

Merge branch 'main' of https://github.com/eth-ait/aitviewer

Merge branch 'main' of https://github.com/eth-ait/aitviewer #27

Workflow file for this run

name: tests
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
python-version: ["3.7", "3.10"]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
cache: 'pip'
cache-dependency-path: setup.py
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pytest
pip install -e .
- name: Setup display
if: runner.os == 'Linux'
run: |
export DISPLAY=:0.0
Xvfb :0 -screen 0 640x480x24 &
- name: Run tests
run: |
cd tests
pytest