polyfit 0.11.0

Because you don't need to be able to build a powerdrill to use one safely
Documentation
name: Tests

on:
  push:
    branches: [ master ]
  pull_request:
    branches: [ master ]
  workflow_dispatch:
  workflow_call:

env:
  CARGO_TERM_COLOR: always

jobs:
  build:

    runs-on: ubuntu-latest

    steps:
    - uses: actions/checkout@v4

    # build with no features
    - name: build no features
      run: cargo build --no-default-features

    # build with just plotting feature
    - name: build plotting tests
      run: cargo build --features "plotting"

    # build tests with just transforms feature
    - name: build transforms tests
      run: cargo build --features "transforms"

    # Run tests with all features
    - name: Run complete tests
      run: cargo test --all-features --lib