Skip to content

Replace NSE with FMPE #30

Replace NSE with FMPE

Replace NSE with FMPE #30

Workflow file for this run

name: Package tests
on:
workflow_dispatch:
pull_request:
branches:
- master
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.8", "3.9"]
torch-version: ["1.8", "1.12"]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip setuptools
pip install pytest
pip install torch==${{ matrix.torch-version }} --extra-index-url https://download.pytorch.org/whl/cpu
pip install .
- name: Test with pytest
run: pytest tests