Skip to content

docs: add info about gpu testing #1

docs: add info about gpu testing

docs: add info about gpu testing #1

Workflow file for this run

name: Python Unit Tests
on: # yamllint disable-line rule:truthy
push:
branches: [main]
pull_request:
branches: [main]
jobs:
server-unittests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.11
uses: actions/setup-python@v5
with:
python-version: 3.11
- name: Install dependencies in Python 3.11
run: |
python3.11 -m pip install --upgrade pip
python3.11 -m pip install -r server/requirements.txt
- name: Set up Python 3.12
uses: actions/setup-python@v5
with:
python-version: 3.12
- name: Install dependencies in Python 3.12
run: |
python3.12 -m pip install --upgrade pip
python3.12 -m pip install -r server/requirements.txt
- name: Run tests
run: |
cd server
python3.11 -m unittest tests/*.py
python3.12 -m unittest tests/*.py