cfr 0.4.4

Counterfactual regret minimization solver for two-player zero-sum incomplete-information games
Documentation
name: tests

on:
  push:
    branches: [ "main" ]
  pull_request:
    branches: [ "main" ]
  workflow_call:

env:
  CARGO_TERM_COLOR: always

jobs:
  build:

    runs-on: ubuntu-latest

    steps:
    - uses: actions/checkout@v3
    - name: Install nightly toolchain
      run: rustup toolchain install nightly --component clippy
    - name: Build lib
      run: cargo build --verbose --no-default-features
    - name: Build bin
      run: cargo build --verbose
    - name: Run tests
      run: cargo test --verbose
    - name: Run examples tests
      run: cargo test --verbose --examples
    - name: Run lints
      run: cargo clippy --verbose -- -D warnings
    - name: Run examples lints
      run: cargo clippy --verbose --examples -- -D warnings
    - name: Run bench lints
      run: cargo +nightly clippy --verbose --benches -- -D warnings