Update linspace requirement from 0.1.1 to 0.2.4 #44
Workflow file for this run
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: Test | |
| on: | |
| push: | |
| branches: [ "master" ] | |
| pull_request: | |
| branches: [ "master" ] | |
| env: | |
| RUST_BACKTRACE: 1 | |
| RUST_LOG: "cargo_tarpaulin=trace,llvm_profparser=trace" | |
| jobs: | |
| test: | |
| name: "Test" | |
| runs-on: "ubuntu-latest" | |
| strategy: | |
| matrix: | |
| rust: | |
| #- stable | |
| #- beta | |
| - nightly | |
| steps: | |
| - uses: "actions/checkout@v3" | |
| name: "Checkout" | |
| - name: Install packages | |
| run: sudo apt -y install libfontconfig1-dev libgsl-dev | |
| - uses: "actions-rs/toolchain@v1" | |
| with: | |
| profile: "minimal" | |
| toolchain: "${{ matrix.rust }}" | |
| override: true | |
| name: "Install Rust ${{ matrix.rust }}" | |
| - uses: "actions-rs/cargo@v1" | |
| with: | |
| command: "test" | |
| name: "Run `cargo test`" | |
| - uses: "taiki-e/install-action@v2" | |
| with: | |
| tool: "cargo-hack" | |
| name: "Install cargo-hack" | |
| - run: "cargo hack test --each-feature --optional-deps --all-targets ${{ vars.CARGO_HACK_EACH_FEATURE_EXTRA_ARGS }}" | |
| name: "Check all features with 'cargo-hack'" | |
| - name: Upload test results to Codecov | |
| if: ${{ !cancelled() }} | |
| uses: codecov/test-results-action@v1 | |
| with: | |
| token: ${{ secrets.CODECOV_TOKEN }} |