Skip to content

Changed RTOL, ATOL to test_torch_numerics.py. #8

Changed RTOL, ATOL to test_torch_numerics.py.

Changed RTOL, ATOL to test_torch_numerics.py. #8

Workflow file for this run

name: Python package
on: [push]
jobs:
linter:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: "3.9"
- name: ruff
uses: chartboost/ruff-action@v1
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.9"]
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 ".[dev]"
- name: Test with pytest
run: |
pytest tests