refactor: Remove unnecessary stats structs and add some transform stats #119
This file contains 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
on: [push, pull_request] | |
name: Run tests | |
jobs: | |
check: | |
name: Check | |
strategy: | |
matrix: | |
rust: | |
- stable | |
- nightly | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout sources | |
uses: actions/checkout@v2 | |
- name: Install stable toolchain | |
uses: actions-rs/toolchain@v1 | |
with: | |
profile: minimal | |
toolchain: ${{ matrix.rust }} | |
override: true | |
- name: Run cargo check nightly features | |
if: ${{ matrix.rust == 'nightly' }} | |
uses: actions-rs/cargo@v1 | |
with: | |
command: check | |
args: --features=nightly | |
- name: Run cargo check | |
uses: actions-rs/cargo@v1 | |
with: | |
command: check | |
test: | |
name: Test Suite | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
rust: | |
- stable | |
- nightly | |
steps: | |
- name: Checkout sources | |
uses: actions/checkout@v2 | |
- name: Install stable toolchain | |
uses: actions-rs/toolchain@v1 | |
with: | |
profile: minimal | |
toolchain: nightly | |
override: true | |
- name: Run cargo test with nightly features | |
if: ${{ matrix.rust == 'nightly' }} | |
uses: actions-rs/cargo@v1 | |
with: | |
command: test | |
args: --features=nightly | |
- name: Run cargo test | |
uses: actions-rs/cargo@v1 | |
with: | |
command: test |