Add allclose for compile tests #392
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Python Tests | |
on: [push, pull_request] | |
jobs: | |
pytest: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v2 | |
- name: Set up Python 3.9 | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 3.9 | |
- name: Install Dependencies | |
run: | | |
pip install --upgrade pip | |
pip install -r requirements.txt | |
python setup.py install | |
- name: Run All Tests | |
run: | | |
pip install -e ."[dev]" | |
pytest -vx tests/test_analyzer.py | |
pytest -vx tests/test_dataset_utils.py | |
pytest -vx tests/test_testable_tasks.py | |
pytest -vx tests/factors/test_covariances.py | |
pytest -vx tests/factors/test_eigens.py | |
pytest -vx tests/modules/test_modules.py | |
pytest -vx tests/modules/test_per_sample_gradients.py | |
pytest -vx tests/scores/test_pairwise_scores.py | |
pytest -vx tests/scores/test_self_scores.py |