Pin pyscf version #20
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: unit tests | |
on: | |
pull_request: | |
push: | |
branches: [main] | |
jobs: | |
pytest-container: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: "3.11" | |
cache: "pip" | |
- name: Install requirements | |
run: | | |
pip install -U pip | |
pip install .[dev] | |
- name: Workaround for compilation cache failure | |
run: | | |
pip install etils[epath] | |
- name: Log installed environment | |
run: | | |
python3 -m pip freeze | |
- name: Run unit tests | |
run: | | |
pytest . | |
- name: Build MESS book | |
run: | | |
jupyter-book build docs |