Remove debug_sgd_simple binary from Cargo.toml (file is in .gitignore) #34
This file contains hidden or 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: 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 |