remove log #292
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 package | |
on: [push, pull_request, pull_request_review] | |
jobs: | |
build: | |
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@v3 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install dependencies | |
run: | | |
sudo apt-get -y install openmpi-bin | |
sudo apt-get install libopenmpi-dev | |
python -m pip install --upgrade pip | |
python -m pip install -r requirements.txt | |
- name: Run Doctest | |
run: | | |
python -m doctest -o NORMALIZE_WHITESPACE -v */*.py | |
- name: Run Minimal Tests | |
run: | | |
./tests/test_everything_all_at_once.py Test_Minimal | |
- name: Run compound indexing tests | |
run: | | |
./tests/test_everything_all_at_once.py Test_Index | |
- name: Run variational determinant-driven tests | |
run: | | |
./tests/test_everything_all_at_once.py Test_VariationalPowerplant_Determinant | |
- name: Run variational integral-driven tests | |
run: | | |
./tests/test_everything_all_at_once.py Test_VariationalPowerplant_Integral | |
- name: Run full tests | |
if: github.event.review.state == 'approved' | |
run: | | |
./tests/test_everything_all_at_once.py |