Add brief description of nestor module #57
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: build | |
on: | |
push: | |
pull_request: | |
schedule: | |
- cron: "19 3 * * 0" # Run at a random time weekly | |
jobs: | |
build: | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu-latest] | |
python-version: ["3.12"] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: true | |
- name: Setup conda and dependencies | |
run: | | |
tools/setup_ci.sh ${{ matrix.python-version }} | |
- name: Test | |
run: | | |
eval "$(conda shell.bash hook)" | |
conda activate python${{ matrix.python-version }} | |
mkdir build && cd build | |
if test "${{ matrix.python-version }}" = "2.7" ; then PY2=on; else PY2=off; fi | |
cmake .. -DIMP_DIR=${CONDA_PREFIX}/lib/cmake/IMP -DUSE_PYTHON2=${PY2} | |
make | |
pip install numpy matplotlib mergedeep pyyaml | |
./setup_environment.sh pytest --cov=.. --cov-branch --cov-report=xml -v ../test/expensive_test_*.py | |
flake8 ../pyext/src/ | |
- uses: codecov/codecov-action@v3 |