Skip to content

Merge branch 'pg/maturin_config' #123

Merge branch 'pg/maturin_config'

Merge branch 'pg/maturin_config' #123

Workflow file for this run

name: ci
on:
workflow_dispatch:
push:
branches: [ "main" ]
pull_request:
branches: [ "main", "dev" ]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- name: Build
run: cargo build --verbose --features sdp-accelerate
- name: Run tests
run: cargo test --verbose --features sdp-accelerate
- name: Install cargo-tarpaulin
run: cargo install cargo-tarpaulin
- name: Generate code coverage
run: |
cargo tarpaulin --out xml --features sdp-accelerate --exclude-files "src/python/*,src/julia/*"
- name: Upload to codecov.io
uses: codecov/codecov-action@v3
with:
token: ${{secrets.CODECOV_TOKEN}}