Skip to content

Remove unnecessary type annotation #107

Remove unnecessary type annotation

Remove unnecessary type annotation #107

Workflow file for this run

name: tests on stable
on:
push:
branches:
- "**"
workflow_dispatch:
env:
CARGO_TERM_COLOR: always
jobs:
check:
name: cargo check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1.0.6
with:
profile: minimal
toolchain: stable
override: true
- uses: actions-rs/cargo@v1
with:
command: check
args: --manifest-path ./phylo/Cargo.toml
test:
name: cargo test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1.0.6
with:
toolchain: nightly
override: true
- name: install cargo2junit
run: |
cargo install cargo2junit
- name: tests with cargo2junit
run: |
cargo test --manifest-path ./phylo/Cargo.toml -- -Z unstable-options --format json --report-time | cargo2junit > results.xml
- name: Publish test results
uses: EnricoMi/publish-unit-test-result-action@v2
if: always()
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
files: results.xml