Skip to content

Remove debug_sgd_simple binary from Cargo.toml (file is in .gitignore) #34

Remove debug_sgd_simple binary from Cargo.toml (file is in .gitignore)

Remove debug_sgd_simple binary from Cargo.toml (file is in .gitignore) #34

Workflow file for this run

name: CI
on:
push:
branches: [ main ]
pull_request:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
rust: ['1.87']
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
toolchain: ${{ matrix.rust }}
override: true
- name: Cache cargo registry
uses: actions/cache@v3
with:
path: |
~/.cargo/registry
~/.cargo/git
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
- name: Run tests
run: cargo test
# - name: Generate coverage
# run: |
# cargo install cargo-tarpaulin
# cargo tarpaulin --out Xml
# - name: Upload coverage
# uses: codecov/codecov-action@v3
# with:
# files: cobertura.xml
# token: ${{ secrets.CODECOV_TOKEN }}
# fail_ci_if_error: true