Skip to content

Implement exact line-by-line port of ODGI's path_linear_sgd algorithm #5

Implement exact line-by-line port of ODGI's path_linear_sgd algorithm

Implement exact line-by-line port of ODGI's path_linear_sgd algorithm #5

Workflow file for this run

name: Test
on:
push:
branches: [ main, master, correctify ]
pull_request:
branches: [ main, master ]
env:
CARGO_TERM_COLOR: always
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- name: Setup Rust
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- name: Cache cargo dependencies
uses: actions/cache@v3
with:
path: |
~/.cargo/registry
~/.cargo/git
target
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose
- name: Run clippy
run: cargo clippy -- -D warnings