Skip to content

Release v6.1.0: Web-based GUI #1302

Release v6.1.0: Web-based GUI

Release v6.1.0: Web-based GUI #1302

Workflow file for this run

name: Unit Tests
on:
pull_request:
branches:
- develop
- main
- 'release/**'
types:
- opened
- edited
- reopened
- synchronize
pull_request_target:
branches:
- develop
- main
- 'release/**'
types:
- opened
- edited
- reopened
- synchronize
push:
branches:
- develop
- main
- 'release/**'
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [ "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: Install dependencies
run: |
# Step 1: Upgrade pip and install core build and testing tools
python -m pip install --upgrade pip setuptools wheel
pip install flake8 pytest pytest-cov
# Step 2: Install torch first
pip install torch==2.2.2
# Step 3: Install PyG packages for Linux
pip install torch-scatter torch-sparse torch-cluster torch-spline-conv -f https://data.pyg.org/whl/torch-2.2.2+cpu.html
# Step 4: Install the rest of the requirements from the original file
# This ensures stable-baselines3 and all other packages are installed
pip install -r requirements.txt
- name: Print Current Working Directory
run: pwd
- name: Test with pytest
run: |
pytest