Skip to content

feat: add population_size to metrics (#488) #153

feat: add population_size to metrics (#488)

feat: add population_size to metrics (#488) #153

name: Build & test (coco integration)
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main", "development", "@*/*" ]
paths:
- 'coco/**'
- '.github/workflows/build-test-coco.yaml'
workflow_dispatch:
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
concurrency:
group: build-test-coco-${{ github.ref }}
cancel-in-progress: true
steps:
- uses: actions/checkout@v3
- name: Update toolchain
run: rustup update
- name: Build
working-directory: ./coco
run: cargo build --verbose
- name: Run tests
working-directory: ./coco
run: RUST_BACKTRACE=1 cargo test --verbose
- name: Clippy
working-directory: ./coco
run: cargo clippy --all-targets --all-features
- name: Run fmt
working-directory: ./coco
run: cargo fmt -v --check