turn one function into an iterator + other minor details #86
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: Fast Check | |
on: | |
push: | |
workflow_dispatch: | |
jobs: | |
check: | |
name: Make Check | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
python-version: [3.8] | |
os: [self-hosted] | |
steps: | |
- name: Install dependencies | |
run: | | |
if ! dpkg -s graphviz normaliz nauty libgsl-dev; then | |
sudo apt-get install graphviz normaliz nauty libgsl-dev | |
fi | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v2 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- uses: actions/checkout@v2 | |
- name: Install Python dependencies | |
run: | | |
python3 -m pip install --upgrade pip | |
make dependencies | |
- name: Build | |
run: | | |
make build | |
- name: pytest Check | |
run: | | |
python3 -m pytest --timeout=600 pySecDec | |
- name: Doc Test | |
run: | | |
export PYTHONPATH=$PWD | |
make doctest | |
- name: Util Check | |
run: | | |
export PYTHONPATH=$PWD | |
make util-check -j2 | |
- name: High-level Tests | |
run: | | |
export PYTHONPATH=$PWD | |
make -C high_level_tests runselected -j2 | |
- name: High-level Test Summary | |
run: | | |
export PYTHONPATH=$PWD | |
make -C high_level_tests summarize-selected |