feat: add population_size
to metrics (#488)
#153
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 & 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 |