Skip to content

Update tests to assume running from the root directory #16

Update tests to assume running from the root directory

Update tests to assume running from the root directory #16

Workflow file for this run

name: Tests
on:
- push
- pull_request
jobs:
test:
name: Test pre-trained models
runs-on: ${{ matrix.os }}
strategy:
max-parallel: 4
fail-fast: false
matrix:
os:
- ubuntu-latest
- windows-latest
- macos-latest
python-version:
- '3.9'
- '3.12'
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install Python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: 'pip' # caching pip dependencies
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install .
pip list
- name: Test METL-G
run: python metl/test.py
- name: Test 1D low-N METL-L avGFP
run: python metl/test2.py
- name: Test 3D low-N METL-L avGFP
run: python metl/test3.py
- name: Test MELT-L GB1
run: python metl/test4.py