Skip to content

added vec3 functions for ..._ensi_multi_... #295

added vec3 functions for ..._ensi_multi_...

added vec3 functions for ..._ensi_multi_... #295

Workflow file for this run

name: C/C++ CI
on: [push, pull_request]
# push:
# branches: [ master ]
# pull_request:
# branches: [ master ]
jobs:
build:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.7'
- name: dependencies
run: |
sudo apt update -qq
sudo apt install swig libboost-dev libarmadillo9 libarmadillo-dev cmake python3-setuptools python3-numpy python3-pip lcov
- name: configure
run: mkdir build && cd build && cmake -DBUILD_R=no -DCMAKE_BUILD_TYPE=DEBUG -DENABLE_TESTS=ON ..
- name: build
run: cd build && VERBOSE=1 make develop-python-user
- name: test
run: |
cd build
/usr/bin/python3 -m pip install coverage nose
make tests
lcov --directory CMakeFiles/gridpp.dir/src/api --capture --output-file coverage.info
lcov --remove coverage.info '/usr/*' --output-file coverage.info
lcov --list coverage.info
# - name: test
# run: |
# /usr/bin/python3 -c "import gridpp; print(gridpp.version())"
# /usr/bin/python3 -m pip install --upgrade pip
# /usr/bin/python3 -m pip install coverage nose
# coverage run --omit */*-packages/*,*tests* -m nose
# coverage report