Skip to content

Merge branch 'OpenDisplay-org:main' into main #28

Merge branch 'OpenDisplay-org:main' into main

Merge branch 'OpenDisplay-org:main' into main #28

Workflow file for this run

name: Tests
on:
pull_request:
push:
branches:
- main
workflow_dispatch:
jobs:
tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.12.0
uses: actions/setup-python@v5
with:
python-version: 3.12.0
cache: 'pip'
- name: Create virtual environment
run: |
python -m venv venv
. venv/bin/activate
echo "VIRTUAL_ENV=$VIRTUAL_ENV" >> $GITHUB_ENV
echo "$VIRTUAL_ENV/bin" >> $GITHUB_PATH
- name: Install dependencies
run: |
pip install -r requirements.txt
pip install -r requirements_test.txt
- name: Run tests
run: |
PYTHONPATH=${{ github.workspace }} pytest tests -v