Skip to content

Improve device error messages #26

Improve device error messages

Improve device error messages #26

name: Architecture tests
on:
push:
branches: [main]
pull_request:
# Check all PR
jobs:
tests:
strategy:
fail-fast: false
matrix:
architecture-name: [alchemical-model, gap, soap-bpnn, pet]
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.12"
- run: pip install tox
- name: run architecture tests
run: tox -e ${{ matrix.architecture-name }}-tests
env:
# Use the CPU only version of torch when building/running the code
PIP_EXTRA_INDEX_URL: https://download.pytorch.org/whl/cpu