Skip to content

Configurable spatial connectivity feature #1298

Configurable spatial connectivity feature

Configurable spatial connectivity feature #1298

Workflow file for this run

# Run tests
name: CI
# Controls when the workflow will run
on: [push, pull_request, workflow_dispatch]
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build:
# The type of runner that the job will run on
runs-on: ubuntu-latest
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- name: Checkout Symbulation
uses: actions/checkout@v4
with:
path: SymbulationEmp
submodules: "recursive"
- name: run symbulation
run: cd SymbulationEmp && make debug-default && ./symbulation_default -WORLD_WIDTH 5 -WORLD_HEIGHT 5
# Runs a single command using the runners shell
- name: Make tests
run: sudo apt-get update && sudo apt-get install gdb && cd SymbulationEmp && make coverage
- name: Generate coverage
run: cd SymbulationEmp && gcov -abcfu symbulation.test-main.cc
- name: Upload coverage
uses: codecov/codecov-action@v5
with:
root_dir: SymbulationEmp
override_branch: ${{ github.ref_name }}
slug: anyaevostinar/SymbulationEmp
#Codecov is being frustrating and not reading in the updates to codecov.yml, so trying this to get the desired behavior
exclude: SymbulationEmp/source/catch,SymbulationEmp/stats_scripts,SymbulationEmp/web,SymbulationEmp/Empirical,SymbulationEmp/coverage_source,SymbulationEmp/source/test,SymbulationEmp/signalgp-lite
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
#- name: test web build
# run: cd SymbulationEmp/emsdk && ./emsdk install 3.1.18 && ./emsdk activate 3.1.18 && source ./emsdk_env.sh && cd .. && make web