Skip to content

SHE (Simplified Hopfield Energy) OOD detector #387

SHE (Simplified Hopfield Energy) OOD detector

SHE (Simplified Hopfield Energy) OOD detector #387

name: flake8
on:
push:
branches:
- master
pull_request:
jobs:
checks:
runs-on: ubuntu-latest
strategy:
max-parallel: 4
matrix:
python-version: ["3.8", "3.9", "3.10"]
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
pip install tox
- name: Test with tox
run: tox -e py$(echo ${{ matrix.python-version }} | tr -d .)-lint