Skip to content

clean up tests

clean up tests #207

Workflow file for this run

name: Stimulus
on: [push, pull_request]
jobs:
ci:
runs-on: ubuntu-latest
env:
STIMULUS_VERSION: "0.14.0"
steps:
# Use Clang for more informative error messages
- name: Install Clang
run: sudo apt-get install clang
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Install stimulus
run: |
cd interfaces
python3 -m venv .venv
.venv/bin/pip install 'git+https://github.com/igraph/stimulus.git@${{ env.STIMULUS_VERSION }}#egg=stimulus'
- name: Configure igraph
run: |
mkdir build && cd build
cmake ..
- name: Validate functions.yaml
run: |
cd interfaces
.venv/bin/stimulus -f functions.yaml -t types.yaml -l ci:validate -o test.cpp
clang++ -std=c++14 -c test.cpp -I ../include -I ../build/include