Skip to content

Rust phylo compatibility fix (#3) #2

Rust phylo compatibility fix (#3)

Rust phylo compatibility fix (#3) #2

Workflow file for this run

name: tests on stable
on:
push:
branches:
- "**"
workflow_dispatch:
env:
CARGO_TERM_COLOR: always
jobs:
check_lib:
name: cargo check lib
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 ./parsimony/Cargo.toml
test_lib:
name: cargo test lib
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 ./parsimony/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
check_bin:
name: cargo check bin
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 ./indelMaP/Cargo.toml
test_bin:
name: cargo test bin
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 ./indelMaP/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